JPH0895906A - Bus arbitrating device - Google Patents

Bus arbitrating device

Info

Publication number
JPH0895906A
JPH0895906A JP25155994A JP25155994A JPH0895906A JP H0895906 A JPH0895906 A JP H0895906A JP 25155994 A JP25155994 A JP 25155994A JP 25155994 A JP25155994 A JP 25155994A JP H0895906 A JPH0895906 A JP H0895906A
Authority
JP
Japan
Prior art keywords
bus
circuit
output
request
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.)
Granted
Application number
JP25155994A
Other languages
Japanese (ja)
Other versions
JP3483312B2 (en
Inventor
Toshiharu Oguchi
俊治 大口
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP25155994A priority Critical patent/JP3483312B2/en
Publication of JPH0895906A publication Critical patent/JPH0895906A/en
Application granted granted Critical
Publication of JP3483312B2 publication Critical patent/JP3483312B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE: To prevent a bus from being occupied by any specified bus master without lowering efficiency at the time of bus arbitration and to enable a user to perform the bus arbitration while considering the degree of importance for respective bus masters by providing a weighting setting part for setting the weighting of respective bus requests from the bus masters on the input side of a round-robin bus arbitrating circuit. CONSTITUTION: On the input side of a round-robin bus arbitrating circuit 11, a weighting setting part 15 for bus request outputs is provided to set the weighting of bus request outputs corresponding to the respective bus masters by respectively dividing request outputs BR1-BR3 of the bus from the bus masters into a prescribed number of outputs in advance. When the bus requests are outputted from the respective bus masters, the bus request output signals BR1-BR3 are divided into a prescribed number by the weighting setting part 15 and inputted to the round robin bus arbitrating circuit 11. Then, permitting signals BG1-BG3 are outputted to the bus masters, which permits the use of the bus, based on the output of the round-robin bus arbitrating circuit 11.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータシステム
においてバスを利用する各デバイスの情報転送要求を調
整するバス調停装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus arbitration device which adjusts information transfer requests of devices using a bus in a computer system.

【0002】[0002]

【従来の技術】コンピュータシステムのシステムバスに
は、メインとなるマスタCPUの他にスレーブとなるC
PUやDMAコントローラ等のバスマスタが複数接続し
ており、これらのデバイスから情報の転送のためのバス
使用を要求するバス要求が出力される。バス調停装置
は、各バスマスタから出力されたバス要求に基づいて各
バスマスタのバス使用の優先順位を決定する。このバス
調停装置には、時期の早いバス要求を優先し、時期が同
じ時は無手順で調整する無手順バス調停装置と前回のバ
ス使用の実績を考慮して今回のバス使用の調整を行なう
ラウンドロビンバス調停装置とがある。
In the system bus of a computer system, in addition to the main master CPU, the slave C
A plurality of bus masters such as PU and DMA controllers are connected, and a bus request for requesting the use of the bus for information transfer is output from these devices. The bus arbitration device determines the priority of the bus use of each bus master based on the bus request output from each bus master. For this bus arbitration device, priority is given to early bus requests, and when the time is the same, a non-procedural bus arbitration device that adjusts in a non-procedure and the actual use of the previous bus are considered to adjust the current bus use. There is a round robin bus arbitration device.

【0003】この無手順バス調停装置は、バス要求マス
ク回路及び優先順位決定回路を有し、この2つの回路で
バス調停装置の基本部分を構成している。また、ラウン
ドロビンバス調停装置は、優先順位決定回路と直前にバ
スを獲得したバスマスタを記憶するためのラッチ回路と
を有し、この2つの回路でバス調停装置の基本部分を構
成している。
This non-procedural bus arbitration device has a bus request mask circuit and a priority order determination circuit, and these two circuits form the basic part of the bus arbitration device. Further, the round robin bus arbitration device has a priority order determination circuit and a latch circuit for storing the bus master that has acquired the bus immediately before, and these two circuits form the basic part of the bus arbitration device.

【0004】次に、このように構成される無手順バス調
停装置及びラウンドロビンバス調停装置の動作について
説明する。
Next, the operations of the non-procedural bus arbitration device and the round robin bus arbitration device thus configured will be described.

【0005】始めに、無手順バス調停装置の調停動作を
説明する。無手順バス調停装置において、バス要求マス
ク回路に対してバスの要求があると、それ以上のバスの
要求を受け付けないようにバス要求マスク回路をマスク
するが、バスの要求は完全に非同期に生じるので、複数
のバスの要求が同一のタイミングで捕捉される場合が起
こり得る。このような場合、バスの要求の各々は優先順
位決定回路でバスの要求の優先順位が決定され、この決
定された優先順位に従ってバス調停が行なわれる。
First, the arbitration operation of the non-procedural bus arbitration device will be described. In the non-procedural bus arbitration device, when there is a bus request to the bus request mask circuit, the bus request mask circuit is masked so that no more bus requests are accepted, but the bus request occurs completely asynchronously. Therefore, it is possible that requests for multiple buses are captured at the same timing. In such a case, the priority of each bus request is determined by the priority determining circuit, and the bus arbitration is performed according to the determined priority.

【0006】次に、ラウンドロビンバス調停装置では、
複数のバスの要求が同時に捕らえられるタイミングの場
合、優先順位決定回路は、前回のバス使用バスマスタを
記憶するラッチ回路からの信号に応じて前回バスを獲得
したバスマスタの優先順位が最低となるようにバスの要
求の優先順位を決定し、この決定された優先順位に従っ
てバス調停が行なわれ、決定されたバスの要求が存在し
ている限り、それ以外のバスの要求はマスクされる。
Next, in the round robin bus arbitration device,
In the case of a timing in which requests for multiple buses are simultaneously captured, the priority determination circuit ensures that the bus master that previously acquired the bus has the lowest priority according to the signal from the latch circuit that stores the bus master that used the previous bus. The priority of the bus request is determined, the bus arbitration is performed according to the determined priority, and as long as the determined bus request exists, the other bus requests are masked.

【0007】[0007]

【発明が解決しようとする課題】しかし、従来のバス調
停装置の一つである無手順バス調停装置では、バス要求
マスク回路に対してバスの要求があると、他のバスの要
求を受け付けないようにバス要求マスク回路をマスクし
ているため、バスの要求毎に、システムのメインCPU
に対してバスを要求し、メインCPUがバスを開放し、
バス要求デバイスがバスを獲得するという手順を一々と
る必要があり、あるバスマスタがバスを獲得中に他のバ
ス要求が起こった場合に、バス調停の効率が落ちるとい
う問題点がある。
However, in the non-procedural bus arbitration device, which is one of the conventional bus arbitration devices, if there is a bus request to the bus request mask circuit, the requests of other buses are not accepted. Since the bus request mask circuit is masked like this, the system main CPU
The main CPU releases the bus,
There is a problem that the bus requesting device has to take the procedure of acquiring the bus one by one, and if another bus request occurs while a bus master is acquiring the bus, the efficiency of the bus arbitration decreases.

【0008】また、従来のバス調停装置のもう一方のラ
ウンドロビンバス調停装置では、バスの優先順位が直前
にバスを使用していたバスマスタの種類によってのみ決
定されるため、各バスマスタのデータ転送速度、バス上
メモリへのアクセス頻度やメモリバッファ量等に関係す
るバスマスタの重要度に配慮して優先順位を決めること
ができないといった問題点があった。
Further, in the other round robin bus arbitration device of the conventional bus arbitration device, since the priority of the bus is determined only by the type of the bus master which has used the bus immediately before, the data transfer rate of each bus master. However, there is a problem that the priority cannot be determined in consideration of the importance of the bus master related to the access frequency to the memory on the bus and the amount of memory buffer.

【0009】本発明は、このような従来の問題点を解決
するものであり、バス調停時の効率を低下させることな
く、特定のバスマスタによるバス独占を防止するととも
に各バスマスタの重要度に配慮したバス調停を行なうこ
とができるバス調停装置を提供することを目的としてい
る。
The present invention solves such a conventional problem, prevents bus monopolization by a specific bus master, and considers the importance of each bus master without lowering the efficiency during bus arbitration. It is an object of the present invention to provide a bus arbitration device capable of performing bus arbitration.

【0010】[0010]

【課題を解決するための手段】そこで、本発明では、ラ
ウンドロビンバス調停回路を具備し、バスに接続する複
数のバスマスタからのバス要求を調停するバス調停装置
において、前記バスマスタからの各バス要求の重み付け
を設定する重み付け設定部を前記ラウンドロビンバス調
停回路の入力側に設けている。
Therefore, in the present invention, in a bus arbitration device that includes a round robin bus arbitration circuit and arbitrates bus requests from a plurality of bus masters connected to a bus, each bus request from the bus master. A weighting setting unit for setting the weighting is provided on the input side of the round robin bus arbitration circuit.

【0011】また、前記重み付け設定部が、前記バスマ
スタからのバス要求出力を前記バスマスタの重みに応じ
て分割し、前記ラウンドロビンバス調停回路に入力する
ように構成している。
The weight setting unit divides the bus request output from the bus master according to the weight of the bus master and inputs it to the round robin bus arbitration circuit.

【0012】また、前記バス要求出力の分割数を制御信
号により可変できるように構成している。
Further, the number of divisions of the bus request output can be changed by a control signal.

【0013】[0013]

【作用】この調停装置では、ラウンドロビンバス調停回
路を用いているので、バス調停を効率的に行なうことが
できる。
In this arbitration device, since the round robin bus arbitration circuit is used, the bus arbitration can be efficiently performed.

【0014】また、重要度の高いバスマスタから出力さ
れたバス要求程、多数に分割されてラウンドロビンバス
調停回路の多くの入力端子から入力されるので、ラウン
ドロビンバス調停回路の調停において選択される確率が
高くなる。
Further, the bus request output from the bus master having a high degree of importance is divided into a large number and is input from many input terminals of the round robin bus arbitration circuit, and therefore is selected in the arbitration of the round robin bus arbitration circuit. The probability increases.

【0015】また、各バスマスタからのバス要求出力数
を制御信号により増減させることが可能である。
Further, the number of bus request outputs from each bus master can be increased or decreased by a control signal.

【0016】[0016]

【実施例】本発明の実施例におけるバス調停装置の構成
を図1に示している。図1において、このバス調停装置
は、複数の入力端子BA1〜BA6及び複数の出力端子BY1〜B
Y6並びに複数の制御入力端子Q1〜Q6を有するラウンドロ
ビンバス調停回路11と、このラウンドロビンバス調停回
路の複数の出力端子BY1〜BY6のそれぞれと接続される複
数の入力端子D1〜D6及びラウンドロビンバス調停回路の
複数の制御入力端子Q1〜Q6のそれぞれと接続される複数
の出力端子Q1〜Q6並びにトリガ入力端子BTRGを有するラ
ッチ回路12と、前記ラウンドロビンバス調停回路11の複
数の出力端子BY1〜BY6のそれぞれに接続される複数の入
力端子を有し、システムのメインCPUに対してバスの
要求信号BR-OUTを出力する出力端子を有するバス要求出
力回路13と、前記ラウンドロビンバス調停回路11の複数
の出力端子BY1〜BY6のそれぞれに接続される複数の入力
端子を有し、各バスマスタ(図示せず)に対してバスの
許可信号BG1〜BG3をそれぞれ出力するバス許可出力回路
14と、各バスマスタからのバスの要求出力BR1〜BR3をそ
れぞれ予め所定の出力数に分割することによりバスマス
タに応じたバス要求出力の重み付けを設定するバス要求
出力の重み付け設定部15(ここでは、BR1、BR2、BR3は
それぞれ、3分割、2分割、1分割され、前記ラウンド
ロビンバス調停回路11の(入力BA1、BA3、BA5)、(入
力BA2、BA4)、入力BA6に接続されているので、各バス
マスタ間の重み付けは3:2:1に設定されている)と
から構成されている。
FIG. 1 shows the configuration of a bus arbitration device according to an embodiment of the present invention. In FIG. 1, the bus arbitration device has a plurality of input terminals BA1 to BA6 and a plurality of output terminals BY1 to B.
A round robin bus arbitration circuit 11 having Y6 and a plurality of control input terminals Q1 to Q6, and a plurality of input terminals D1 to D6 and a round robin connected to each of a plurality of output terminals BY1 to BY6 of the round robin bus arbitration circuit. A latch circuit 12 having a plurality of output terminals Q1 to Q6 and a trigger input terminal BTRG connected to each of a plurality of control input terminals Q1 to Q6 of the bus arbitration circuit, and a plurality of output terminals BY1 of the round robin bus arbitration circuit 11. To BY6, a bus request output circuit 13 having a plurality of input terminals connected to each of them, and an output terminal for outputting a bus request signal BR-OUT to the main CPU of the system; and the round robin bus arbitration circuit. It has a plurality of input terminals connected to each of a plurality of 11 output terminals BY1 to BY6 and outputs a bus enable signal BG1 to BG3 to each bus master (not shown). Allow output circuit
14 and a bus request output weight setting unit 15 that sets the weight of the bus request output according to the bus master by dividing each of the bus request outputs BR1 to BR3 from each bus master into a predetermined number of outputs in advance (here, BR1, BR2, and BR3 are divided into three, two, and one, respectively, and are connected to (input BA1, BA3, BA5), (input BA2, BA4), and input BA6 of the round robin bus arbitration circuit 11. , And the weighting between each bus master is set to 3: 2: 1).

【0017】このバス調停装置では、各バスマスタから
バス要求が出力されると、このバス要求出力信号BR1〜B
R3は重み付け設定部15で所定数に分割され、ラウンドロ
ビンバス調停回路11の入力端子BA1〜BA6に印加される
が、ラウンドロビンバス調停回路11は、前回のバス使用
バスマスタを記憶しているラッチ回路12からの出力信号
Q1〜Q6によって制御されるので、ラッチ出力信号Q1〜Q6
に応じて、ラウンドロビンバス調停回路11は、後述する
図3に示す優先順位の関係により出力信号BY1〜BY6のう
ちのいずれかの信号を出力する。
In this bus arbitration device, when a bus request is output from each bus master, the bus request output signals BR1 to B
R3 is divided into a predetermined number in the weight setting unit 15 and applied to the input terminals BA1 to BA6 of the round robin bus arbitration circuit 11, which is a latch that stores the previous bus master used. Output signal from circuit 12
Latch output signals Q1 to Q6 as controlled by Q1 to Q6
In response to this, the round robin bus arbitration circuit 11 outputs one of the output signals BY1 to BY6 according to the priority order shown in FIG. 3 described later.

【0018】この信号は、ラッチ回路12によりラッチさ
れ、次回のバス要求出力の優先順位を決定する場合の制
御信号としてラウンドロビンバス調停回路11で使用され
ると共に、オア回路で構成されるバス要求出力回路13に
供給され、システムのメインCPUに対してバス使用の
要求信号BR-OUTが出力され、さらに、複数のオア回路で
構成されるバス許可出力回路14に供給され、バスの使用
を許可するバスマスタに対して許可信号BG1〜BG3が出力
される。
This signal is latched by the latch circuit 12 and is used by the round robin bus arbitration circuit 11 as a control signal for determining the priority of the next bus request output. It is supplied to the output circuit 13, the bus use request signal BR-OUT is output to the main CPU of the system, and further supplied to the bus permission output circuit 14 composed of a plurality of OR circuits to permit the use of the bus. Enable signals BG1 to BG3 are output to the bus master.

【0019】次いで、バス使用の要求を受けたシステム
のメインCPUがバスを開放し、バス使用許可を受けた
バスマスタがバスを使ってデータを転送する。
Next, the main CPU of the system which has received the request for using the bus releases the bus, and the bus master which has been granted the bus use transfers the data using the bus.

【0020】次に、図2には、説明を簡単にするために
図1のラウンドロビンバス調停回路11の出力信号(BY1
〜BY6)のうちの1出力信号(BY1)を形成するための論
理回路を示している。この論理回路は、信号BA1、信号B
A2の反転信号BA2′、信号BA3の反転信号BA3′、信号BA4
の反転信号BA4′、信号BA5の反転信号BA5′、信号BA6の
反転信号BA6′の6入力と、ラッチ回路14の出力信号Q1
の1入力を有する第1のアンド回路21と、信号BA1及び
反転信号信号BA3′〜BA6′の5入力とラッチ回路14の出
力信号Q2の1入力を有する第2のアンド回路22と、信号
BA1及び反転信号BA4〜BA6の4入力とラッチ回路14の出
力信号Q3の1入力を有する第3のアンド回路23と、信号
BA1及び反転信号BA5及びBA6の3入力とラッチ回路14の
出力信号Q4の1入力を有する第4のアンド回路24と、信
号BA1と反転信号BA6の2入力とラッチ回路14の出力信号
Q5の1入力を有する第5のアンド回路25と、信号BA1の
1入力とラッチ回路14の出力信号Q5の1入力を有する第
6のアンド回路25と、第1〜第6のアンド回路21〜26の
出力信号を供給するオア回路27とから構成されている。
Next, in FIG. 2, for simplification of explanation, the output signal of the round robin bus arbitration circuit 11 (BY1
~ BY6) shows a logic circuit for forming one output signal (BY1). This logic circuit has signal BA1, signal B
Inverted signal BA2 'of A2, inverted signal BA3' of signal BA3, signal BA4
6 of the inverted signal BA4 ′ of the signal BA5 ′, the inverted signal BA5 ′ of the signal BA5, the inverted signal BA6 ′ of the signal BA6, and the output signal Q1 of the latch circuit 14.
A first AND circuit 21 having one input, a second AND circuit 22 having five inputs of the signal BA1 and the inverted signal signals BA3 'to BA6' and one input of the output signal Q2 of the latch circuit 14, and a signal
A third AND circuit 23 having four inputs of BA1 and inverted signals BA4 to BA6 and one input of the output signal Q3 of the latch circuit 14, and a signal
A fourth AND circuit 24 having three inputs of BA1 and inverted signals BA5 and BA6 and one input of the output signal Q4 of the latch circuit 14, two inputs of the signal BA1 and the inverted signal BA6, and an output signal of the latch circuit 14.
A fifth AND circuit 25 having one input of Q5, a sixth AND circuit 25 having one input of the signal BA1 and one input of the output signal Q5 of the latch circuit 14, and first to sixth AND circuits 21 to 21- It is composed of an OR circuit 27 which supplies an output signal of 26.

【0021】この論理回路では、BA1が入力したとき、Q
1〜Q6の信号に応じて、BY1の出力し得る状態が変わって
くる。即ち、Q6が“1”であれば、必ずBY1を出力する
ことができる。Q5が“1”のときは、BA6が“1”でな
ければBY1を出力することができる。Q4が“1”のとき
は、BA6及びBA5が“1”でなければBY1を出力すること
ができる。また、Q1が“1”のときは、BA2〜BA6の全て
が“0”のときでないとBY1を出力することができな
い。このように、この論理回路では、Q1〜Q6の信号によ
ってBA1の優先順位が変化する。
In this logic circuit, when BA1 is input, Q
The states that BY1 can output vary depending on the signals from 1 to Q6. That is, if Q6 is “1”, BY1 can be output without fail. When Q5 is “1”, BY1 can be output unless BA6 is “1”. When Q4 is “1”, BY1 can be output unless BA6 and BA5 are “1”. Also, when Q1 is "1", BY1 cannot be output unless all of BA2 to BA6 are "0". In this way, in this logic circuit, the priority order of BA1 changes according to the signals of Q1 to Q6.

【0022】なお、他の出力信号(BY2〜BY6)を形成す
るための論理回路も図2に示す論理回路と同様である。
The logic circuit for forming the other output signals (BY2 to BY6) is the same as the logic circuit shown in FIG.

【0023】ラウンドロビンバス調停回路11は、図2と
同様の回路構成を備えることにより、制御信号Q1が入力
したとき(つまり、ラウンドロビンバス調停回路11から
前回BY1が出力され、そのため今回ラッチ回路12から制
御信号Q1が出力されたとき)、出力BY1〜BY6の間にBY2
>BY3>BY4>BY5>BY6>BY1の優先順位を設定し、例え
ば、BA3とBA4とが同じタイミングで入力したときには、
優先順位の高いBY3を出力する。このようにラウンドロ
ビンバス調停回路11が前回の出力に応じて設定する優先
順位の関係を図3に示している。
The round robin bus arbitration circuit 11 has a circuit configuration similar to that shown in FIG. 2 so that when the control signal Q1 is input (that is, the previous round BY1 is output from the round robin bus arbitration circuit 11, the latch circuit this time is used. When the control signal Q1 is output from 12), output BY1 to BY6
Set the priority order of > BY3 > BY4 > BY5 > BY6 > BY1. For example, when BA3 and BA4 are input at the same timing,
Output BY3, which has the highest priority. FIG. 3 shows the relationship of priorities set by the round robin bus arbitration circuit 11 in accordance with the previous output.

【0024】次に、バス調停回路に複数のバス要求が同
一のタイミングで出力されたときの動作を説明する。
Next, the operation when a plurality of bus requests are output to the bus arbitration circuit at the same timing will be described.

【0025】いま、直前のバス要求出力がBY3であると
する。この状態で、バスマスタ1及びバスマスタ2から
それぞれバス要求出力BR1及びBR2が出力されると、重み
付け設定部15から分割されたバス要求出力BA1〜BA5の5
つのバス要求がラウンドロビンバス調停回路11に入力さ
れるが、前述のように直前のバス要求出力がBY3である
と仮定しているので、ラッチ回路12には信号BY3がラッ
チされている。そのため、ラウンドロビンバス調停回路
の制御入力Q3に信号が入力されているので、ラウンドロ
ビンバス調停回路11は、図3に示す優先順位の関係から
BY4が最高優先順位となり、図2に示すバス要求出力信
号を形成するための論理回路によりバス要求出力信号BY
4のみを出力する。したがって、バス要求出力信号BY4が
出力されるのは、図1に示すようにバスマスタ2からの
バス要求出力BR2が出力される場合であるので、バスマ
スタ2からのバス要求が最優先される。このように各バ
スマスタからバス要求出力を分割することによって、例
えばバスマスタ1からのバス要求出力BR1は、3分割さ
れているので、バスマスタ3からのバス要求出力BR3の
ように分割されていないバス要求出力に比べて約3倍の
バス獲得権を得ることができる。したがって、バスマス
タの性能や重要度に応じたバス要求の重み付けが可能と
なる。
It is now assumed that the immediately preceding bus request output is BY3. In this state, when the bus request outputs BR1 and BR2 are output from the bus master 1 and the bus master 2, respectively, the bus request outputs BA1 to BA5 divided by the weight setting unit 15
One bus request is input to the round robin bus arbitration circuit 11, but since it is assumed that the immediately preceding bus request output is BY3 as described above, the latch circuit 12 latches the signal BY3. Therefore, since a signal is input to the control input Q3 of the round robin bus arbitration circuit, the round robin bus arbitration circuit 11 is changed from the priority order shown in FIG.
BY4 has the highest priority, and the logic circuit for forming the bus request output signal shown in FIG.
Print only 4. Therefore, since the bus request output signal BY4 is output when the bus request output BR2 from the bus master 2 is output as shown in FIG. 1, the bus request from the bus master 2 is given the highest priority. By dividing the bus request output from each bus master in this way, for example, the bus request output BR1 from the bus master 1 is divided into three, so that the bus request output BR3 from the bus master 3 is not divided. The bus acquisition right can be obtained about three times as much as the output. Therefore, it becomes possible to weight the bus requests according to the performance and importance of the bus master.

【0026】また、図1は、重み付け設定部15が固定的
に配線することにより重み付けを設定していたが、図4
に示すように重み付け設定部15を、第1〜第6のアンド
回路151〜156からなる複数の論理から構成することもで
きる。すなわち、第1のアンド回路151は、バスの要求
信号BR1と制御信号Set1を入力し、信号BA2を出力し、第
2のアンド回路152は、バスの要求信号BR1と制御信号Se
t2を入力し、信号BA3を出力し、第3のアンド回路153
は、バスの要求信号BR2と制御信号Set3を入力し、信号B
A5を出力し、第4のアンド回路154は、バスの要求信号B
R2と制御信号Set4を入力し、信号BA6を出力し、第5の
アンド回路155は、バスの要求信号BR3と制御信号Set5を
入力し、信号BA8を出力し、第6のアンド回路156は、バ
スの要求信号BR3と制御信号Set6を入力し、信号BA9を出
力する。
Further, in FIG. 1, the weight setting section 15 sets the weight by fixedly wiring, but FIG.
As shown in FIG. 5, the weight setting unit 15 may be composed of a plurality of logics including first to sixth AND circuits 151 to 156. That is, the first AND circuit 151 inputs the bus request signal BR1 and the control signal Set1 and outputs the signal BA2, and the second AND circuit 152 outputs the bus request signal BR1 and the control signal Se.
t2 is input, signal BA3 is output, and the third AND circuit 153
Inputs the bus request signal BR2 and control signal Set3, and sends the signal B
A5 is output, and the fourth AND circuit 154 outputs the bus request signal B
The R2 and the control signal Set4 are input, the signal BA6 is output, the fifth AND circuit 155 inputs the bus request signal BR3 and the control signal Set5, outputs the signal BA8, and the sixth AND circuit 156 is The bus request signal BR3 and the control signal Set6 are input and the signal BA9 is output.

【0027】第1〜第6のアンド回路151〜156のそれぞ
れに、制御信号Set1〜Set6のそれぞれを印加かるかしな
いかによって可変的に重み付けを設定することができ
る。このようにすることにより、3つのバスマスタの重
みづけをそれぞれ同等の1:1:1や一つだけ突出させ
た3:1:1、また3:2:1等にシステムに応じて任
意に設定することができる。
Weighting can be variably set depending on whether or not each of the control signals Set1 to Set6 is applied to each of the first to sixth AND circuits 151 to 156. By doing this, the weights of the three bus masters can be arbitrarily set according to the system, such as equivalent 1: 1: 1 or 3: 1: 1 with only one protruding, or 3: 2: 1. can do.

【0028】このように、本発明のバス調停装置は、バ
スマスタの重要性等を配慮した、重みを付けたバス調停
を行なうことができる。
As described above, the bus arbitration device of the present invention can perform weighted bus arbitration in consideration of the importance of the bus master.

【0029】また、この装置では、一つのバスマスタが
バスを獲得している間に、他のバスマスタからバス要求
が行なわれた場合、ラウンドロビンバス調停回路からバ
スの要求が連続して出力される状態となり、後から要求
したバスマスタがバスを獲得する際に、システムのメイ
ンCPUに対するバスの要求・メインCPUのバスの開
放という手順を省略できる。
Further, in this device, when a bus request is made by another bus master while one bus master is acquiring the bus, the round robin bus arbitration circuit continuously outputs the bus request. When a bus master that has made a request later acquires the bus, the procedure of requesting the bus to the main CPU of the system and releasing the bus of the main CPU can be omitted.

【0030】[0030]

【発明の効果】以上の実施例の説明から明らかなよう
に、本発明のバス調停装置では、優先順位の高いバスマ
スタがバスを占有し続け、優先順位の低いバスマスタが
バス使用権を得られないという事態を回避しながら、重
要度や能力の高いバスマスタには、それなりにバス獲得
の機会が多くなるようなバス調停を行なうことができ
る。また、各バスマスタの能力等を計算し、それに応じ
てバス要求出力数を増減することにより、各バスマスタ
の能力差に見合った最適の重み付けを設定することがで
きる。
As is apparent from the above description of the embodiments, in the bus arbitration device of the present invention, the bus master with the higher priority continues to occupy the bus, and the bus master with the lower priority cannot obtain the bus use right. While avoiding such a situation, it is possible to perform bus arbitration so that a bus master having a high degree of importance and ability has a large number of opportunities to acquire the bus. Further, by calculating the capacity of each bus master and increasing / decreasing the number of required bus outputs according to the calculation, it is possible to set the optimum weighting corresponding to the capacity difference of each bus master.

【0031】また、バス要求出力数を制御信号で調整す
る構成により複数のシステムへの対応が可能になる。
Further, the configuration in which the number of required bus outputs is adjusted by the control signal makes it possible to support a plurality of systems.

【0032】また、本発明のバス調停装置では、ラウン
ドロビンバス調停回路を使用しているため、一つのバス
マスタがバスを獲得しているときに他のバスマスタがバ
スの要求を行なった場合に、バス開放手順の省略が可能
となり、効率的なバスの調停を行なうことができる。
Since the bus arbitration device of the present invention uses the round robin bus arbitration circuit, when one bus master acquires the bus, another bus master requests the bus, The bus opening procedure can be omitted, and efficient bus arbitration can be performed.

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

【図1】本発明の一実施例におけるバス調停装置の構成
を示す図、
FIG. 1 is a diagram showing a configuration of a bus arbitration device according to an embodiment of the present invention,

【図2】実施例のバス調停装置におけるラウンドロビン
バス調停回路の一部を示す図、
FIG. 2 is a diagram showing a part of a round robin bus arbitration circuit in the bus arbitration device of the embodiment;

【図3】前記ラウンドロビンバス調停回路の設定する優
先順位を示す図、
FIG. 3 is a diagram showing priorities set by the round robin bus arbitration circuit;

【図4】本発明の他の実施例におけるバス調停装置の構
成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a bus arbitration device according to another embodiment of the present invention.

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

11 ラウンドロビンバス調停回路 12 ラッチ回路 13 バス要求出力回路 14 バス許可出力回路 15 重み付け設定部 21〜26 アンド回路 27 オア回路 151〜156 アンド回路 11 Round robin bus arbitration circuit 12 Latch circuit 13 Bus request output circuit 14 Bus permission output circuit 15 Weight setting section 21 to 26 AND circuit 27 OR circuit 151 to 156 AND circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ラウンドロビンバス調停回路を具備し、
バスに接続する複数のバスマスタからのバス要求を調停
するバス調停装置において、前記バスマスタからの各バ
ス要求の重み付けを設定する重み付け設定部を前記ラウ
ンドロビンバス調停回路の入力側に設けたことを特徴と
するバス調停装置。
1. A round robin bus arbitration circuit is provided,
In a bus arbitration device that arbitrates bus requests from a plurality of bus masters connected to a bus, a weight setting unit that sets the weight of each bus request from the bus master is provided on the input side of the round robin bus arbitration circuit. And a bus arbitration device.
【請求項2】 前記重み付け設定部が、前記バスマスタ
からのバス要求出力を前記バスマスタの重みに応じて分
割し、前記ラウンドロビンバス調停回路に入力すること
を特徴とする請求項1に記載のバス調停装置。
2. The bus according to claim 1, wherein the weight setting unit divides a bus request output from the bus master according to a weight of the bus master and inputs the divided bus request output to the round robin bus arbitration circuit. Arbitration device.
【請求項3】 前記バス要求出力の分割数を制御信号に
より可変できるようにしたことを特徴とする請求項2に
記載のバス調停装置。
3. The bus arbitration device according to claim 2, wherein the number of divisions of the bus request output is made variable by a control signal.
JP25155994A 1994-09-21 1994-09-21 Bus arbitration equipment Expired - Fee Related JP3483312B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25155994A JP3483312B2 (en) 1994-09-21 1994-09-21 Bus arbitration equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25155994A JP3483312B2 (en) 1994-09-21 1994-09-21 Bus arbitration equipment

Publications (2)

Publication Number Publication Date
JPH0895906A true JPH0895906A (en) 1996-04-12
JP3483312B2 JP3483312B2 (en) 2004-01-06

Family

ID=17224624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25155994A Expired - Fee Related JP3483312B2 (en) 1994-09-21 1994-09-21 Bus arbitration equipment

Country Status (1)

Country Link
JP (1) JP3483312B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998012645A1 (en) * 1996-09-19 1998-03-26 Philips Electronics N.V. Method and apparatus for bus arbitration with weighted bandwidth allocation
JP2011076160A (en) * 2009-09-29 2011-04-14 Nec Corp Switching method of arbitration priority, arbitration device, and processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998012645A1 (en) * 1996-09-19 1998-03-26 Philips Electronics N.V. Method and apparatus for bus arbitration with weighted bandwidth allocation
US6385678B2 (en) 1996-09-19 2002-05-07 Trimedia Technologies, Inc. Method and apparatus for bus arbitration with weighted bandwidth allocation
JP2011076160A (en) * 2009-09-29 2011-04-14 Nec Corp Switching method of arbitration priority, arbitration device, and processor

Also Published As

Publication number Publication date
JP3483312B2 (en) 2004-01-06

Similar Documents

Publication Publication Date Title
US4698753A (en) Multiprocessor interface device
US6420901B2 (en) Quantized queue length arbiter
US4901234A (en) Computer system having programmable DMA control
US6070205A (en) High-speed processor system having bus arbitration mechanism
EP1403773B1 (en) Resource management device
US5301283A (en) Dynamic arbitration for system bus control in multiprocessor data processing system
US6775727B2 (en) System and method for controlling bus arbitration during cache memory burst cycles
US7093045B2 (en) Method and apparatus for bus arbitration capable of effectively altering a priority order
JPH0728758A (en) And device for dynamic time loop arbitration
US5241661A (en) DMA access arbitration device in which CPU can arbitrate on behalf of attachment having no arbiter
EP0463775B1 (en) Multiple speed expansion card
JP3483312B2 (en) Bus arbitration equipment
US4180855A (en) Direct memory access expander unit for use with a microprocessor
US5241629A (en) Method and apparatus for a high performance round robin distributed bus priority network
EP0130471A2 (en) Interface controller for connecting multiple asynchronous buses and data processing system including such controller
JP3415474B2 (en) Bus bridge arbitration method
JP2539117B2 (en) Multiprocessor system
JPS6160162A (en) Bus arbitration system
JP2001167049A (en) Bus arbitrating device
KR940004926B1 (en) Bus request method
US7099973B2 (en) Method and system of bus master arbitration
JPH03252847A (en) System bus arbitrating system
JPH05257873A (en) Method for deciding priority and its circuit
JPH08161257A (en) Common bus using right control system
JPH1027156A (en) Bus arbiter controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees