JPH10254823A - Bus arbitration device - Google Patents

Bus arbitration device

Info

Publication number
JPH10254823A
JPH10254823A JP7912997A JP7912997A JPH10254823A JP H10254823 A JPH10254823 A JP H10254823A JP 7912997 A JP7912997 A JP 7912997A JP 7912997 A JP7912997 A JP 7912997A JP H10254823 A JPH10254823 A JP H10254823A
Authority
JP
Japan
Prior art keywords
bus
arbitration
priority
value
devices
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
JP7912997A
Other languages
Japanese (ja)
Inventor
Takashi Yoshikawa
隆 吉川
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7912997A priority Critical patent/JPH10254823A/en
Publication of JPH10254823A publication Critical patent/JPH10254823A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To flexibly cope with the case of equally giving a bus using right to any device and the case of giving priority in the acquiring of the bus using right to a specific device by avoiding the delay of a response to the bus using request by the successive inspection of the bus using request in a circulating priority order system. SOLUTION: Plural devices 102a to 102h are connected to one bus 101 to receive a bus using request signal 104 from the devices 102a to 102h. When a bus using request signal 104 is outputted from the plural devices 102a to 102h, a bus arbitration device 103 executing bus arbitration giving the bus using right permitting the access of the bus 101 stores a variable weighting value, which becomes different value at each device 102a to 102h executing a bus using request and varies the value each time of bus arbitration, to arbitrate this variable weighting value as the priority of the bus using right.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明が属する技術分野】本発明は,1つのバスに接続
された複数のデバイスがバス使用要求を行い,バス使用
権の決定が必要なときに,可変の重みづけ値を用いて優
先度を決定し,バス調停を実行するバス調停装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of assigning a priority by using a variable weighting value when a plurality of devices connected to one bus make a bus use request and a bus use right needs to be determined. The present invention relates to a bus arbitration device that determines and executes bus arbitration.

【0002】[0002]

【従来の技術】一般にコンピュータシステムのデータ転
送においては,複数のデバイスが1つのバスに接続さ
れ,デバイスはバスを使用するとき,バスマスタとなり
データ転送の開始を行う。このとき,複数のデバイスが
同時にバスマスタとなり,データ転送を行うバス上でデ
ータの衝突が発生するため,バスマスタはただ1つに限
定してる。
2. Description of the Related Art Generally, in data transfer of a computer system, a plurality of devices are connected to one bus, and when the device uses the bus, the device becomes a bus master and starts data transfer. At this time, a plurality of devices simultaneously become bus masters, and data collision occurs on the bus that performs data transfer. Therefore, the number of bus masters is limited to only one.

【0003】ところが,多くのシステムにおいてデバイ
スは,バスの使用を自ら要求することが必要とされる。
そこで,複数のデバイスが同時にバスの使用を要求する
場合を考慮し,デバイスはバス調停装置に対してバス使
用の要求を行うためのバス使用要求信号を出力し,その
信号を出力している複数のデバイスから1つのデバイス
を選択し,該選択されたデバイスをバスマスタとし,バ
ス使用を許可する方式をとっている。
[0003] In many systems, however, devices are required to request their own use of the bus.
Therefore, in consideration of a case where a plurality of devices request the use of the bus at the same time, the device outputs a bus use request signal for making a bus use request to the bus arbitration device, and One of the devices is selected, the selected device is used as a bus master, and the bus is permitted to be used.

【0004】このとき,デバイスを選択する方法とし
て,デバイス毎に優先順位が固定的に決められ,優先順
位の高いものを選択する第1の方法,あるいは各デバイ
スが平等に選択するようにするため優先順位を設定せず
に行う下記の第2の方法,の2つがある。
At this time, as a method for selecting a device, a priority is fixedly determined for each device, and a first method for selecting a device having a higher priority or a method for selecting each device equally. There are the following two methods, which are performed without setting the priority.

【0005】上記第2の方法は,図6の循環優先順位方
式によるバスマスタの決定方法を示す説明図において,
たとえばバスに接続されたデバイスが4つある場合,各
状態においてそれぞれ定められたデバイスから出力され
るバス使用要求の信号を循環的に調べていき,その信号
が出力されていることが確認された時点でバス使用権を
与え,その状態に停滞し,次の調停時に状態を遷移し,
他のデバイスのバス使用要求を調べるものである。
[0005] The second method is a method for determining a bus master according to the cyclic priority method shown in FIG.
For example, when there are four devices connected to the bus, the bus use request signal output from the specified device in each state is checked cyclically, and it is confirmed that the signal is output. At that time, the right to use the bus is granted, the state is stagnated, and the state transitions at the next arbitration.
This is to check a bus use request of another device.

【0006】また,優先順位を固定的に決めた場合で
は,優先度の高いデバイスがバスを頻繁に使用する場
合,他のデバイスはバス使用権を獲得する機会が得られ
なくなるという問題点が生じる。
Further, when the priority is fixedly determined, if a high-priority device frequently uses the bus, another device may not have a chance to acquire the right to use the bus. .

【0007】一方,バス使用要求信号を循環して調べて
いくことにより優先順位が決定される上記循環優先順位
方式にあっては,多くの場合,クロックに同期して順次
これらの信号を調べていくため,あるデバイスがバス使
用要求信号を出力した後,バス調停装置がそのデバイス
の信号を調べ,応答するまでの間,数クロック分待たさ
れることになる。このため,たとえばバスの使用権を要
求するデバイスがただ1つの場合で,かつ調停が不要の
場合であっても即時に応答することができなくなる。
On the other hand, in the above-mentioned cyclic priority system in which the priority is determined by circulating and checking the bus use request signal, in many cases, these signals are sequentially examined in synchronization with a clock. Therefore, after a certain device outputs a bus use request signal, it waits for several clocks until the bus arbitration device checks the signal of the device and responds. Therefore, for example, even when only one device requests the right to use the bus and arbitration is unnecessary, it is impossible to immediately respond.

【0008】そこで,上記不具合を解消する従来の技術
として,たとえば特開平7−134689号公報の『バ
スアービトレーション装置』が開示されている。ここで
は,バス使用要求デバイスはあらかじめソフトウェアに
より決められた優先順位を表す値をバス使用要求時にバ
ス調停装置に出力する。バス調停装置はそれらの値を参
照して優先順位の高いデバイスを決定しバス使用権を与
えている。また,デバイス間で優先順位を表す値が同一
である場合があれば,それらのデバイス間に限って循環
優先順位方式により調停を実行する。
Therefore, as a conventional technique for solving the above problem, for example, a "bus arbitration apparatus" disclosed in Japanese Patent Application Laid-Open No. Hei 7-134689 is disclosed. Here, the bus use requesting device outputs a value indicating a priority determined in advance by software to the bus arbitration device at the time of the bus use request. The bus arbitrator refers to these values, determines a device with a higher priority, and gives the right to use the bus. If there is a case where the values representing the priorities are the same between the devices, arbitration is performed only between those devices by the cyclic priority method.

【0009】[0009]

【発明が解決しようとする課題】しかしながら,上記に
示されるような従来の技術にあっては,優先順位を表す
値をバス調停装置へ出力するための信号線が必要となっ
たり,循環優先順位方式によりバス権を与えるデバイス
を選択する場合が生じるため,バス使用要求に対して即
時に応答することができないという問題点があった。
However, in the prior art as described above, a signal line for outputting a value indicating the priority to the bus arbitration device is required, In some cases, a device to which the bus right is granted is selected depending on the system, so that there is a problem that it is not possible to immediately respond to a bus use request.

【0010】本発明は,上記に鑑みてなされたものであ
って,循環優先順位方式におけるバス使用要求の順次検
査によるバス使用要求の応答の遅れを回避させ,さらに
どのデバイスに対しても平等にバス使用権が与えられる
ようにする場合や,特定のデバイスに対してバス使用権
獲得における優位性を与える場合にも,柔軟に対応でき
るようにすることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above, and it is possible to avoid a delay in response to a bus use request due to sequential inspection of bus use requests in a cyclic priority system, and furthermore, to make any device equally. An object of the present invention is to flexibly cope with a case where a bus use right is given or a case where a superior advantage in acquiring a bus use right is given to a specific device.

【0011】[0011]

【課題を解決するための手段】上記の目的を達成するた
めに,請求項1に係るバス調停装置にあっては,1つの
バスに複数のデバイスを接続し,前記デバイスからのバ
ス使用要求を受け付け,前記複数のデバイスから前記バ
ス使用要求が出力されて競合した場合に,前記バスのア
クセスを許可するバス使用権を与えるバス調停を実行す
るバス調停装置において,前記バス調停装置が,前記バ
ス使用要求を行うデバイス毎に異なる値となり,前記バ
ス調停の度に値の変化する可変重みづけ値を記憶し,該
可変重みづけ値を前記バス使用権の優先度として調停す
るものである。
According to a first aspect of the present invention, there is provided a bus arbitration apparatus in which a plurality of devices are connected to one bus, and a bus use request from the devices is transmitted. A bus arbitration device for executing bus arbitration that grants a bus use right to permit access to the bus when the bus arbitration device receives the bus use request from the plurality of devices and conflicts with each other. A variable weighting value, which is different for each device that issues a use request and changes each time the bus is arbitrated, is stored, and the variable weighting is arbitrated as the priority of the bus use right.

【0012】すなわち,バス調停を実行する度に値の変
化するバス使用権を決定するための優先度を決めておく
ことにより,1つのバスに接続された複数のデバイスに
対し,バス使用権を獲得する機会を平等にし,バス使用
要求に対して迅速なバスマスタ(アクセス権)を決定す
る。
That is, by determining priorities for determining the right to use the bus, the value of which changes each time bus arbitration is executed, the right to use the bus can be assigned to a plurality of devices connected to one bus. Equal opportunities are obtained, and a quick bus master (access right) is determined in response to a bus use request.

【0013】また,請求項2に係るバス調停装置にあっ
ては,1つのバスに複数のデバイスを接続し,前記デバ
イスからのバス使用要求を受け付け,前記複数のデバイ
スから前記バス使用要求が出力されて競合した場合に,
前記バスのアクセスを許可するバス使用権を与える調停
を実行するバス調停装置において,前記バス調停装置
は,前記バス使用要求を行うデバイス毎に異なる値とな
り,前記バス調停の度に値の変化する可変重みづけ値を
記憶し,前記バス使用要求を行うデバイス毎に異なる値
となり,前記バス調停によって値の変化しない固定重み
づけ値を記憶し,前記可変重みづけ値と前記固定重みづ
け値との和をバス使用権の優先度として調停するもので
ある。
According to a second aspect of the present invention, in the bus arbitration apparatus, a plurality of devices are connected to one bus, a bus use request from the device is received, and the bus use request is output from the plurality of devices. And conflict,
In a bus arbitration device that performs arbitration that grants a bus use right that permits access to the bus, the bus arbitration device has a different value for each device that issues the bus use request, and the value changes each time the bus arbitration is performed. A variable weight value is stored, and a fixed weight value that is different for each device that makes the bus use request and does not change due to the bus arbitration is stored, and a variable weight value and the fixed weight value are stored. The sum is arbitrated as the priority of the right to use the bus.

【0014】すなわち,上記請求項1の可変重みづけ値
に加え,バス調停によって値の変化しない固定重みづけ
値を与えることにより,特定のデバイスに対して不変の
優先度を設ける。
That is, in addition to the variable weight value of the above-mentioned claim 1, by giving a fixed weight value whose value does not change due to bus arbitration, an invariant priority is provided for a specific device.

【0015】また,請求項3に係るバス調停装置にあっ
ては,1つのバスに複数のデバイスを接続し,前記デバ
イスからのバス使用要求を受け付け,前記複数のデバイ
スから前記バス使用要求が出力されて競合した場合に,
前記バスのアクセスを許可するバス使用権を与える調停
を実行するバス調停装置において,前記バス調停装置
は,前記バス使用要求を行うデバイス毎に異なる値とな
り,前記バス調停の度に値の変化する可変重みづけ値を
記憶し,前記デバイスを優先度に応じてグループ分け
し,前記可変重みづけ値による優先度に先行して前記グ
ループ分けによる優先度を決定し,調停するものであ
る。
According to a third aspect of the present invention, in the bus arbitration apparatus, a plurality of devices are connected to one bus, a bus use request from the device is received, and the bus use request is output from the plurality of devices. And conflict,
In a bus arbitration device that performs arbitration that grants a bus use right that permits access to the bus, the bus arbitration device has a different value for each device that issues the bus use request, and the value changes each time the bus arbitration is performed. A variable weight value is stored, the devices are grouped according to priority, and priorities are determined and arbitrated prior to the priority based on the variable weight values.

【0016】すなわち,上記請求項1の可変重みづけ値
に加え,グループ毎に優先度を与えることにより,特定
のグループに属するデバイスに対する優先度を上げる。
That is, in addition to the variable weight value of the first aspect, a priority is given to each group, so that the priority of a device belonging to a specific group is increased.

【0017】[0017]

【発明の実施の形態】以下,本発明のバス調停装置につ
いて添付図面を参照し,詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a bus arbitration device of the present invention will be described in detail with reference to the accompanying drawings.

【0018】〔実施の形態1〕この実施の形態1では,
バス使用要求を行うデバイス毎に異なる値となり,バス
調停の度に値の変化する可変重みづけ値を記憶し,前回
の可変重みづけ値をバス使用権決定の優先度とする例に
ついて説明する。
[Embodiment 1] In this embodiment 1,
A description will be given of an example in which a variable weighting value that differs for each device that issues a bus use request and changes each time bus arbitration is stored, and the previous variable weighting value is used as the priority for determining the bus use right.

【0019】図1は,1つのバスに複数のデバイスが接
続されるシステム構成例を示すブロック図である。図に
おいて,101はバス,102はバス101に接続され
る複数(ここでは8台とする)のデバイス102a〜1
02h,103は後述するバス調停動作を実行するバス
調停装置である。
FIG. 1 is a block diagram showing an example of a system configuration in which a plurality of devices are connected to one bus. In the figure, reference numeral 101 denotes a bus, and 102 denotes a plurality of (here, eight) devices 102a to 1 connected to the bus 101.
02h and 103 are bus arbitration devices that execute a bus arbitration operation described later.

【0020】また,各デバイス102a〜102hから
バス調停装置103に対し,バス使用要求信号104と
バス使用許可信号105とがそれぞれ個別に接続されて
いる。なお,ここでバス使用要求信号104とバス使用
許可信号105はバス101に接続された全てのデバイ
ス102a〜102hに必要なのではなく,バス使用の
開始を行うデバイスのみに接続すれば十分である。
Further, a bus use request signal 104 and a bus use permission signal 105 are individually connected to the bus arbitration device 103 from each of the devices 102a to 102h. Here, the bus use request signal 104 and the bus use permission signal 105 are not required for all the devices 102a to 102h connected to the bus 101, but need only be connected to the device for starting the bus use.

【0021】以上の構成において,バス調停装置103
はバス使用要求信号104を出力したデバイスに対して
バス使用許可信号105を出力し,データ転送の開始を
許可する。このとき複数のデバイス102a〜102h
がバス使用要求信号104を出力した場合,バス調停装
置103はただ1つのデバイスのみを下記優先度に基づ
いて選択し,該選択したデバイスに対してのみバス使用
許可信号105を出力する。
In the above configuration, the bus arbitration device 103
Outputs a bus use permission signal 105 to the device that has output the bus use request signal 104 to permit the start of data transfer. At this time, the plurality of devices 102a to 102h
Outputs the bus use request signal 104, the bus arbitration device 103 selects only one device based on the following priority, and outputs the bus use permission signal 105 only to the selected device.

【0022】デバイスの選択にあたってバス調停装置1
03は,バス使用要求信号104が複数のデバイスから
出力された場合,この実施の形態1では,各デバイス1
02a〜102hに対応する重みづけ値を持たせ,その
値が大きいほど優先度が高くなるようにする。
In selecting a device, the bus arbitration device 1
03, when the bus use request signal 104 is output from a plurality of devices, in the first embodiment, each device 1
Weights corresponding to 02a to 102h are assigned, and the larger the value, the higher the priority.

【0023】ここで,重みづけ値は各デバイス102a
〜102h間で値が等しいと優先度を決定することがで
きないので,異なる値をとるようにする。その重みづけ
値と優先度例を図2に示す。ここでは8つのデバイス1
02a〜102hがバス使用要求信号104を出力する
場合を想定する。重みづけ値として,たとえば0から7
までの値を各デバイス102a〜102hごとに振り分
ける。また,優先度は重みづけ値と同一とする。
Here, the weighting value is determined for each device 102a.
If the values are the same between -102h and 102h, the priority cannot be determined, so different values are taken. FIG. 2 shows examples of the weights and the priorities. Here are eight devices 1
It is assumed that 02a to 102h output the bus use request signal 104. As a weight value, for example, 0 to 7
Are assigned to each of the devices 102a to 102h. The priority is the same as the weight value.

【0024】また,バス使用要求の欄ではバス使用要求
のある場合を1とし,その他を0としている。バス使用
要求の欄でその値が1であるデバイスについてのみ優先
度の比較を行い,値が最大となるデバイスを選択してバ
ス使用許可信号105を1とする。この例では,デバイ
ス102dが選択されている。このように,優先度の値
を求めておくことにより,バス使用要求に対して即座に
バスマスタの決定がなされる。
In the column of bus use request, 1 is set when there is a bus use request, and 0 otherwise. The priority is compared only for the device whose value is 1 in the bus use request column, the device having the largest value is selected, and the bus use permission signal 105 is set to 1. In this example, the device 102d is selected. In this way, by determining the value of the priority, the bus master is immediately determined in response to the bus use request.

【0025】ここで,バス調停を各デバイス102a〜
102h間で平等とするため,重みづけ値をバス調停を
行う度に更新する。重みづけ値の更新値は,たとえば図
3に示すように,前回の調停で選択されたデバイスの重
みづけが最小となるようにして振り分け,次回の調停時
優先度が最も低くなるようにする。
Here, the bus arbitration is performed by each of the devices 102a to 102a.
The weighting value is updated every time bus arbitration is performed in order to achieve equality between 102h. As shown in FIG. 3, for example, the update values of the weighting values are distributed so that the weight of the device selected in the previous arbitration is minimized, and the priority at the next arbitration is the lowest.

【0026】〔実施の形態2〕この実施の形態2では,
さらに特定のデバイスに対して優先度を与えたい場合
に,実施の形態1における可変のデバイスの重みづけ値
とは別に,固有かつ固定の重みづけ値(ここで前者を可
変重みづけ値,後者を固定重みづけと呼称する)を与
え,上記可変重みづけ値と上記固定重みづけ値との和を
バス使用権決定の優先度とする例について説明する。
[Embodiment 2] In this embodiment 2,
Further, when it is desired to give a priority to a specific device, a unique and fixed weight value (where the former is a variable weight value, and the latter is a variable weight value) separately from the variable device weight value in the first embodiment. An example will be described in which a fixed weight is given) and the sum of the variable weight and the fixed weight is used as the priority for determining the bus use right.

【0027】すなわち,ここではバス使用要求を行うデ
バイス毎に異なる値となり,バス調停の度に値の変化す
る可変重みづけ値を記憶し,バス使用要求を行うデバイ
ス毎に異なる値となり,バス調停によって値の変化しな
い固定重みづけ値を記憶し,上記可変重みづけ値と上記
固定重みづけ値との和をバス使用権決定の優先度とす
る。
That is, here, a different value is set for each device that makes a bus use request, and a variable weight value that changes every time the bus is arbitrated is stored, and becomes different for each device that makes a bus use request. The fixed weighting value whose value does not change is stored, and the sum of the variable weighting value and the fixed weighting value is used as the priority for determining the bus use right.

【0028】バスマスタの決定に必要な優先度は,可変
重みづけ値と固定重みづけ値との和とする。このとき重
みづけ値の和は,値が等しいものが生じると優先順位の
決定ができないので,たとえば図4に示すように,固定
的な優先度を与える特定のデバイスを2つに限定した場
合は,3n+1と,3n+2(n=0,1,・・)の重
みづけを与える。また,可変重みづけ値は3n(n=
0,1,・・)とすることで,重みづけ値の重複を回避
させる。
The priority required for determining the bus master is the sum of the variable weight value and the fixed weight value. At this time, the priority of the sum of the weighting values cannot be determined if the same value occurs. For example, as shown in FIG. 4, when the number of the specific devices giving fixed priority is limited to two, , 3n + 1 and 3n + 2 (n = 0, 1,...). The variable weight value is 3n (n =
0, 1,...) To avoid duplication of weight values.

【0029】なお,このときnは値を大きくすれば優先
度の効果は大きくなる。また,反対にnが負の値であれ
ば優先度を低くすることができる。図4に示す例では,
デバイス102c,デバイス102e,デバイス102
hがバス使用要求を出力しており,可変重みづけ値のみ
からではデバイス102eがバスマスタとして選択され
るが,固定重みづけ値によりデバイス102cがバスマ
スタとして選択されることを示している。
At this time, if the value of n is increased, the effect of the priority increases. Conversely, if n is a negative value, the priority can be lowered. In the example shown in FIG.
Device 102c, device 102e, device 102
h outputs a bus use request, indicating that the device 102e is selected as a bus master only from the variable weight value, but the device 102c is selected as the bus master by the fixed weight value.

【0030】〔実施の形態3〕この実施の形態3では,
バス使用要求を行うデバイス毎に異なる値となり,バス
調停の度に値の変化する可変重みづけ値を記憶し,デバ
イスを優先度に応じてグループ分けして,上記可変重み
づけ値による優先度決定に先行して上記グループ分けに
よる優先度決定を行い,バス使用権決定の優先度とする
例について説明する。
[Embodiment 3] In this embodiment 3,
A variable weighting value that varies for each device that makes a bus use request and changes at each bus arbitration is stored, and devices are grouped according to priority, and priority is determined by the variable weighting value. A description will be given of an example in which priorities are determined based on the above-described grouping and priorities are determined for determining the bus use right.

【0031】ここで,この実施の形態3では,いくつか
のデバイスをグループ分けし,該グループに対して固定
的な優先度を優先度レベルとして与える。優先度による
グループ分けは,たとえば図5に示すように0,1,2
の3つのグループに分ける。優先度レベルは値が大きい
ほど優先度が高くなる。
Here, in the third embodiment, some devices are grouped, and a fixed priority is given to the group as a priority level. The grouping by priority is performed, for example, as shown in FIG.
Into three groups. The higher the priority level, the higher the priority.

【0032】バスマスタの決定に必要な優先度は,たと
えば図5に示す値のように,優先度レベル*8の値と可
変重みづけ値の和をとるようにする。このようにすれ
ば,優先度の値が各デバイス102a〜102h間で重
複せず,またグループ分けによる優先度レベルが最優先
されることになる。
The priority required for the determination of the bus master is, for example, the sum of the value of the priority level * 8 and the variable weighting value as shown in FIG. In this way, the priority values do not overlap among the devices 102a to 102h, and the priority level by grouping has the highest priority.

【0033】[0033]

【発明の効果】以上説明したように,本発明に係るバス
調停装置(請求項1)によれば,バス調停を実行する度
に値の変化するバス使用権を決定するための優先度を決
めておくため,1つのバスに接続された複数のデバイス
に対し,バス使用権を獲得する機会を平等にし,かつバ
ス使用要求に対して迅速なバスマスタ(アクセス権)を
決定することができる。
As described above, according to the bus arbitration apparatus according to the present invention (claim 1), the priority for determining the bus use right whose value changes each time bus arbitration is performed is determined. Therefore, the opportunity to acquire the right to use the bus can be equalized for a plurality of devices connected to one bus, and the bus master (access right) can be quickly determined in response to the bus use request.

【0034】また,本発明に係るバス調停装置(請求項
2)によれば,上記請求項1の可変重みづけ値に加え,
バス調停によって値の変化しない固定重みづけ値を与え
ることにより,特定のデバイスに対して不変の優先度を
設けるため,特定のデバイスに対してバス使用権獲得に
おける優位性を柔軟に与えることができる。
According to the bus arbitration device of the present invention (claim 2), in addition to the variable weight value of claim 1,
By giving a fixed weight value whose value does not change due to bus arbitration, an invariant priority is set for a specific device, so that the superiority in acquiring the bus use right can be flexibly given to a specific device. .

【0035】また,本発明に係るバス調停装置(請求項
3)によれば,上記請求項1の可変重みづけ値に加え,
グループ毎に優先度を与えることにより,特定のグルー
プに属するデバイスに対する優先度を上げるため,特定
のデバイスに対してバス使用権獲得における優位性を柔
軟に与えることができる。
According to the bus arbitration device of the present invention (claim 3), in addition to the variable weight value of claim 1,
By giving a priority to each group, the priority for devices belonging to a specific group is raised, so that the superiority in acquiring the right to use the bus can be flexibly given to a specific device.

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

【図1】1つのバスに複数のデバイスが接続されるシス
テム構成例を示すブロック図である。
FIG. 1 is a block diagram illustrating a system configuration example in which a plurality of devices are connected to one bus.

【図2】実施の形態1に係るデバイスの固定重みづけ値
と優先度を示す図表である。
FIG. 2 is a table showing fixed weight values and priorities of devices according to the first embodiment;

【図3】実施の形態1に係る重みづけ更新値を示す図表
である。
FIG. 3 is a table showing weighted update values according to the first embodiment;

【図4】実施の形態2に係るデバイスの固定重みづけ値
と可変重みづけ値,および優先度を示す図表である。
FIG. 4 is a table showing fixed weight values, variable weight values, and priorities of devices according to the second embodiment;

【図5】実施の形態3に係るデバイスの優先度レベルと
可変重みづけ値,および優先度を示す図表である。
FIG. 5 is a table showing priority levels, variable weight values, and priorities of devices according to the third embodiment;

【図6】循環優先順位方式によるバスマスタ決定例を示
す説明図である。
FIG. 6 is an explanatory diagram illustrating an example of determining a bus master according to a cyclic priority scheme.

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

101 バス 102a〜102h デバイス 103 バス調停装置 104 バス使用要求信号 105 バス使用許可信号 DESCRIPTION OF SYMBOLS 101 Bus 102a-102h Device 103 Bus arbitration device 104 Bus use request signal 105 Bus use permission signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 1つのバスに複数のデバイスを接続し,
前記デバイスからのバス使用要求を受け付け,前記複数
のデバイスから前記バス使用要求が出力されて競合した
場合に,前記バスのアクセスを許可するバス使用権を与
えるバス調停を実行するバス調停装置において,前記バ
ス調停装置が,前記バス使用要求を行うデバイス毎に異
なる値となり,前記バス調停の度に値の変化する可変重
みづけ値を記憶し,該可変重みづけ値を前記バス使用権
の優先度として調停することを特徴とするバス調停装
置。
1. A plurality of devices are connected to one bus,
A bus arbitration device that receives a bus use request from the device and executes a bus arbitration that grants a bus use right that permits access to the bus when the bus use requests are output from the plurality of devices and there is a conflict. The bus arbitration device stores a variable weighting value that differs for each device that makes the bus use request, and changes the value each time the bus arbitration is performed, and stores the variable weighting value as a priority of the bus use right. A bus arbitration device that arbitrates as a bus.
【請求項2】 1つのバスに複数のデバイスを接続し,
前記デバイスからのバス使用要求を受け付け,前記複数
のデバイスから前記バス使用要求が出力されて競合した
場合に,前記バスのアクセスを許可するバス使用権を与
える調停を実行するバス調停装置において,前記バス調
停装置は,前記バス使用要求を行うデバイス毎に異なる
値となり,前記バス調停の度に値の変化する可変重みづ
け値を記憶し,前記バス使用要求を行うデバイス毎に異
なる値となり,前記バス調停によって値の変化しない固
定重みづけ値を記憶し,前記可変重みづけ値と前記固定
重みづけ値との和をバス使用権の優先度として調停する
ことを特徴とするバス調停装置。
2. A plurality of devices are connected to one bus,
A bus arbitration device that receives a bus use request from the device and executes arbitration that grants a bus use right to permit access to the bus when the bus use requests are output from the plurality of devices and there is a conflict; The bus arbitration device stores a variable weighting value that changes for each device that makes the bus use request, and a variable weighting value that changes every time the bus arbitration is performed. A bus arbitration device which stores a fixed weight value whose value does not change due to bus arbitration, and arbitrates a sum of the variable weight value and the fixed weight value as a priority of a bus use right.
【請求項3】 1つのバスに複数のデバイスを接続し,
前記デバイスからのバス使用要求を受け付け,前記複数
のデバイスから前記バス使用要求が出力されて競合した
場合に,前記バスのアクセスを許可するバス使用権を与
える調停を実行するバス調停装置において,前記バス調
停装置は,前記バス使用要求を行うデバイス毎に異なる
値となり,前記バス調停の度に値の変化する可変重みづ
け値を記憶し,前記デバイスを優先度に応じてグループ
分けし,前記可変重みづけ値による優先度に先行して前
記グループ分けによる優先度を決定し,調停することを
特徴とするバス調停装置。
3. A plurality of devices are connected to one bus,
A bus arbitration device that receives a bus use request from the device and executes arbitration that grants a bus use right to permit access to the bus when the bus use requests are output from the plurality of devices and there is a conflict; The bus arbitration device stores a variable weighting value that varies for each device that makes the bus use request, and changes the value each time the bus arbitration is performed. A bus arbitration device, wherein priorities based on weighting values are determined prior to said grouping priorities and arbitration is performed.
JP7912997A 1997-03-14 1997-03-14 Bus arbitration device Pending JPH10254823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7912997A JPH10254823A (en) 1997-03-14 1997-03-14 Bus arbitration device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7912997A JPH10254823A (en) 1997-03-14 1997-03-14 Bus arbitration device

Publications (1)

Publication Number Publication Date
JPH10254823A true JPH10254823A (en) 1998-09-25

Family

ID=13681347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7912997A Pending JPH10254823A (en) 1997-03-14 1997-03-14 Bus arbitration device

Country Status (1)

Country Link
JP (1) JPH10254823A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6961793B2 (en) 2001-11-20 2005-11-01 Nec Corporation Bus arbiter and bus access arbitrating method
KR100555501B1 (en) * 2003-06-26 2006-03-03 삼성전자주식회사 Dynamic bus arbitration method and bus aribotor
JP2007310532A (en) * 2006-05-17 2007-11-29 Renesas Technology Corp Bus access arbitration method and semiconductor integrated circuit
US7350003B2 (en) * 2003-09-25 2008-03-25 Intel Corporation Method, system, and apparatus for an adaptive weighted arbiter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6961793B2 (en) 2001-11-20 2005-11-01 Nec Corporation Bus arbiter and bus access arbitrating method
KR100555501B1 (en) * 2003-06-26 2006-03-03 삼성전자주식회사 Dynamic bus arbitration method and bus aribotor
US7350003B2 (en) * 2003-09-25 2008-03-25 Intel Corporation Method, system, and apparatus for an adaptive weighted arbiter
JP2007310532A (en) * 2006-05-17 2007-11-29 Renesas Technology Corp Bus access arbitration method and semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
EP1403773B1 (en) Resource management device
EP0159592B1 (en) Distributed arbitration for multiple processors
EP0383475A2 (en) Shared resource arbitration
JP2003157227A (en) Device and method for arbitrating bus access
KR19990003941A (en) Multilevel control bus arbitrator
US20030229743A1 (en) Methods and structure for improved fairness bus arbitration
US7054970B2 (en) Bus arbiter for integrated circuit systems
US5680554A (en) Method and apparatus for arbitrating among processors for access to a common bus
JPH10254823A (en) Bus arbitration device
US5898847A (en) Bus arbitration method and appparatus for use in a multiprocessor system
JP2006251875A (en) Bus arbitration device and bus arbitration method
JP2007026022A (en) Bus arbitration device and bus arbitration method
US20240126710A1 (en) Semiconductor device, bus control circuit and bus control method
JPH1139255A (en) Bus arbitration device and method therefor
JP2001273248A (en) Device and method for controlling bus
JPS58217071A (en) Information processing system
JPH0435540A (en) Bus arbitrating device
JP4190629B2 (en) Multiprocessor system
JP2005025670A (en) Bus control system, bus master, and bus arbitor
JP2002073536A (en) Device and method for arbitrating bus
JPH0660018A (en) Bus arbitration method, arbitor circuit and arbitor
JP2000099455A (en) First-come priority bus competition control system
JPS6174050A (en) Priority rank determining system for right of using bus
JPH1027156A (en) Bus arbiter controller
JPH06236347A (en) Bus arbitration system