JP4953794B2 - Bus arbitration method for bus system and bus system - Google Patents
Bus arbitration method for bus system and bus system Download PDFInfo
- Publication number
- JP4953794B2 JP4953794B2 JP2006343494A JP2006343494A JP4953794B2 JP 4953794 B2 JP4953794 B2 JP 4953794B2 JP 2006343494 A JP2006343494 A JP 2006343494A JP 2006343494 A JP2006343494 A JP 2006343494A JP 4953794 B2 JP4953794 B2 JP 4953794B2
- Authority
- JP
- Japan
- Prior art keywords
- bus
- master
- transfer request
- urgency
- arbitration device
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Bus Control (AREA)
- Information Transfer Systems (AREA)
Description
本発明は、デッドラインまでの期限が厳しいマスタからスレーブへアクセスを優先してアービトレーションするバス調停装置を用いたバスシステムに関する。特に、バス調停装置によって調停するバスが複数存在し、ブリッジを介して多段に構成されているバスシステムにおいて、バス調停装置間でマスタの緊急度評価値を通知するバス調停装置を備えたバスシステムに関する。 The present invention relates to a bus system using a bus arbitration device that preferentially arbitrates access from a master having a strict deadline until a deadline to a slave. In particular, in a bus system in which there are a plurality of buses to be arbitrated by a bus arbitration device and are configured in multiple stages via a bridge, the bus system includes a bus arbitration device that notifies the urgent evaluation value of the master between the bus arbitration devices About.
通常、マスタは要求された時間内に要求されたデータ量の転送を完了する必要がある。要求された時間に対して転送すべきデータ量が多い場合、そのマスタのデッドライン保証は厳しく、逆に要求された時間に対して転送すべきデータ量が少ない場合、デッドライン保証は容易になる。 Usually, the master needs to complete the transfer of the requested amount of data within the requested time. If the amount of data to be transferred is large for the requested time, the master's deadline guarantee is strict. Conversely, if the amount of data to be transferred is small for the requested time, deadline guarantee is easy. .
例えば、特許文献1には、基準より遅れているデバイスに対して、優先的にバスを割り当てるバス調停装置が記載されている。この特許文献1のバス調停装置は、この割り当てのために、各デバイスに要求されている転送レートに基づいたクロックで動作する基準カウンタと、実際に転送したデータ量を計測する転送データカウンタとを設ける。そして、バス調停時にこれら2つのカウンタの値を比較している。
For example,
また、我々は、デッドラインを保証するために、図4に示すようなデッドライン保証アービタを提案した(例えば、特願2005-314842号)。デッドライン保証アービタは、マスタ毎に図5に示すような転送すべきデータ量とデータ転送を完了するまでの時間がデータ量設定レジスタとデットライン設定レジスタに設定される。ここで、図5に示す(A)〜(C)は、それぞれマスタA〜マスタCに対応している。 In order to guarantee a deadline, we proposed a deadline guarantee arbiter as shown in FIG. 4 (for example, Japanese Patent Application No. 2005-314842). The deadline guarantee arbiter sets the data amount to be transferred and the time until the data transfer is completed as shown in FIG. 5 for each master in the data amount setting register and the deadline setting register. Here, (A) to (C) shown in FIG. 5 correspond to master A to master C, respectively.
デッドライン保証アービタは、マスタ毎に緊急度評価値算出部が緊急度評価値(=残りデータ量÷残り時間)を計算し、デッドラインを保証するために最もバス権を必要としているマスタに優先してバス権を与える。時刻t1における緊急度評価値A1、B1、C1は、図5に示す例では以下のように求められ、A1>C1>B1となり、時刻t1の時点では、マスタA>マスタC>マスタBの優先度でバス権が与えられる。 The deadline guarantee arbiter calculates the urgency evaluation value (= remaining data amount / remaining time) for each master and gives priority to the master that needs the bus right most to guarantee the deadline. And give the bus right. In the example shown in FIG. 5, the urgency evaluation values A1, B1, and C1 at time t1 are obtained as follows, and A1> C1> B1. At time t1, master A> master C> master B has priority. The bus right is given at a degree.
A1=(転送データ量a−d1a)÷(デッドラインa−t1)
=0.75
B1=(転送データ量b−d1b)÷(デッドラインb−t1)
=0.38
C1=(転送データ量c−d1c)÷(デッドラインc−t1)
=0.46
時刻t2までマスタAがマスタB、Cより優先され、バス権を獲得した結果、時刻t2における緊急度評価値A2、B2、C2は、以下のように求められ、B2>A2>C2となる。よって、時刻t2の時点では、マスタB>マスタA>マスタCの優先度でバス権が与えられる。
A1 = (transfer data amount a−d1a) ÷ (deadline a−t1)
= 0.75
B1 = (transfer data amount b−d1b) ÷ (deadline b−t1)
= 0.38
C1 = (transfer data amount c−d1c) ÷ (deadline c−t1)
= 0.46
As a result of master A having priority over masters B and C and acquiring the bus right until time t2, urgency evaluation values A2, B2, and C2 at time t2 are obtained as follows, and B2>A2> C2. Therefore, at the time t2, the bus right is given with the priority of master B> master A> master C.
A2=(転送データ量a−d2a)÷(デッドラインa−t2)
=0.59
B2=(転送データ量b−d2b)÷(デッドラインb−t2)
=0.7
C2=(転送データ量c−d2c)÷(デッドラインc−t2)
=0.1
このように、デッドライン保証アービタはある時点で最もデッドラインの厳しいマスタに優先的にバスを使用させることで、バス権を獲得までの時間を短縮し、マスタのデッドラインを保証している。つまり、デッドライン保証アービタは、マスタ−スレーブの組に対してデッドラインを保証することが可能である。
A2 = (transfer data amount a−d2a) ÷ (deadline a−t2)
= 0.59
B2 = (transfer data amount b−d2b) ÷ (dead line b−t2)
= 0.7
C2 = (transfer data amount c−d2c) ÷ (deadline c−t2)
= 0.1
In this way, the deadline guarantee arbiter shortens the time to acquire the bus right and guarantees the master's deadline by preferentially using the bus by the master having the severest deadline at a certain point in time. That is, the deadline guarantee arbiter can guarantee a deadline for the master-slave pair.
例えば、図6に示すようなシステム構成において、マスタA10とマスタB11がスレーブ18へのデータ転送を要求した場合、まずデッドライン保証アービタP16がマスタA10とマスタB11間のバスの使用権を調停する。調停の結果、マスタA10がバスの使用権を得たならば、Pバス19とQバス20を繋ぐブリッジ15に対してマスタA10の緊急度評価値を通知する。
For example, in the system configuration shown in FIG. 6, when the master A10 and the master B11 request data transfer to the
次に、ブリッジ15はマスタA10からの緊急度評価値に基づき、Qバス20の使用権を取得しようとする。そして、デッドライン保証アービタQ17がPバス19からの要求であるブリッジ15、マスタC12及びマスタD13間で緊急度評価値を計算し、Qバス20を使用してスレーブ18へアクセスするマスタを決定する。
しかしながら、図6に示すシステム構成では、個々のデッドライン保証アービタは独立に動作した場合には、次のような問題が発生する。マスタA10が緊急度評価値の低い値で要求し、その緊急度評価値がブリッジに通知されても、マスタC12及びマスタD13から緊急度評価値の高い要求が来ていれば、いつまでもマスタA10はQバス20の使用権を取得できない状態となる。また、マスタB11が緊急度評価値の高い値で要求しても、デッドライン保証アービタQ17ではマスタA10からの緊急度評価値を用いるため、マスタB11の要求に対するデッドラインを保証できなくなる可能性がある。
However, in the system configuration shown in FIG. 6, when each deadline guarantee arbiter operates independently, the following problem occurs. Even if the master A10 makes a request with a low urgency evaluation value and the urgency evaluation value is notified to the bridge, if a request with a high urgency evaluation value is received from the master C12 and the master D13, the master A10 will always The right to use the
本発明は、複数のバス上で発生する複数のマスタからの転送要求に対して、最も優先度の高い転送要求のマスタにバスの使用権を与えることを目的とする。 An object of the present invention is to give a bus use right to a master having a transfer request with the highest priority in response to transfer requests from a plurality of masters generated on a plurality of buses.
また、本発明は、常にデッドライン保証の一番厳しいマスタの緊急度評価値を使用し、マスタのデッドラインを保証することを目的とする。 Another object of the present invention is to guarantee the master's deadline by always using the master's urgency evaluation value with the strictest deadline guarantee.
本発明は、第1のバスと第2のバスとを接続するブリッジと、前記第1のバスの使用権を調停する第1のバス調停装置と、前記第2のバスの使用権を調停する第2のバス調停装置とを備えるバスシステムのバス調停方法であって、前記第1のバス調停装置は、前記第1のバスに繋がる第1のマスタが転送要求を出し、前記第1のバスに繋がる第2のマスタが転送要求を出していなければ、前記第1のマスタに前記第1のバスの使用を認め、前記ブリッジは、前記第1のバス調停装置が前記第1のマスタに前記第1のバスの使用を認めた場合、前記第2のバス調停装置に転送要求を出し、前記第2のバス調停装置は、前記ブリッジと前記第2のバスに繋がるマスタとが転送要求を出し、前記ブリッジが出した転送要求の緊急度より前記第2のバスに繋がるマスタが出した転送要求の緊急度が高い場合、前記第2のバスに繋がるマスタに前記第2のバスの使用を認め、前記第1のバス調停装置は、前記ブリッジによる前記第2のバスの使用が認められない場合に前記第2のマスタが前記第1のマスタが出した転送要求よりも緊急度が高い転送要求を出した場合、前記第2のマスタが出した転送要求の緊急度を前記第2のバス調停装置に通知し、前記第2のバス調停装置は、前記第1のバス調停装置から通知された緊急度と前記第2のバスに繋がるマスタが出した転送要求の緊急度とに基づいて前記第2のバスの使用権を調停することを特徴とする。 The present invention provides a bridge that connects a first bus and a second bus, a first bus arbitration device that arbitrates the right to use the first bus, and arbitrates the right to use the second bus. A bus arbitration method of a bus system comprising a second bus arbitration device, wherein the first bus arbitration device issues a transfer request from a first master connected to the first bus, and the first bus If the second master connected to the network does not issue a transfer request, the first master is permitted to use the first bus, and the bridge is connected to the first master by the first bus arbitration device. If the use of the first bus is permitted, a transfer request is issued to the second bus arbitration device, and the second bus arbitration device issues a transfer request from the bridge and the master connected to the second bus. , The second threshold based on the urgency of the transfer request issued by the bridge. When the urgency of the transfer request issued by the master connected to the second bus is high, the master connected to the second bus is permitted to use the second bus, and the first bus arbitration device uses the second bus by the bridge. If the second master issues a transfer request with a higher degree of urgency than the transfer request issued by the first master when use of the bus is not permitted, the emergency of the transfer request issued by the second master The second bus arbitration device notifies the second bus arbitration device of the urgent level notified from the first bus arbitration device and the transfer request issued by the master connected to the second bus. characterized in that arbitrates the right to use the second bus based on the urgency.
本発明によれば、複数のバス上で発生する複数のマスタからの転送要求に対して優先度の高い転送要求を発行するマスタに効率良くバスの使用権を付与することができる。 According to the present invention, can it to confer efficient use right of bus master to issue a high priority transfer request to transfer requests from a plurality of masters generated on multiple buses.
また、マスタから緊急度の高い要求が来るたびに、他のバス調停装置に緊急度を伝えるため、最も厳しい緊急度を用いてバス調停を行える。これにより、マスタが後から緊急度の高い転送を行う場合も、全ての転送のデッドラインを保証することが可能になる。 In addition, every time a request with a high degree of urgency is received from the master, the urgency level is transmitted to another bus arbitration device, so that bus arbitration can be performed using the strictest urgency level . As a result, even when the master performs a transfer with a high degree of urgency later, it is possible to guarantee a deadline for all transfers.
以下、図面を参照しながら発明を実施するための最良の形態について詳細に説明する。 The best mode for carrying out the invention will be described below in detail with reference to the drawings.
図1は、本実施形態におけるデッドライン保証アービタ(バス調停装置)を備えたバスシステムの構成の一例を示す図である。また、図2は、本実施形態におけるデッドライン保証アービタの構成の一例を示す図である。 FIG. 1 is a diagram illustrating an example of a configuration of a bus system including a deadline guarantee arbiter (bus arbitration device) according to the present embodiment. FIG. 2 is a diagram showing an example of the configuration of the deadline guarantee arbiter in the present embodiment.
図1において、バスシステムは、マスタA10、マスタB11、マスタC12、マスタD13、ブリッジ15、スレーブ18、デッドライン保証アービタであるアービタP16、アービタQ17、Pバス19、Qバス20で構成される。
In FIG. 1, the bus system includes a master A10, a master B11, a master C12, a master D13, a
マスタA10、マスタB11、マスタC12、マスタD13は、それぞれデッドラインを有した転送を行う。 Master A10, master B11, master C12, and master D13 each perform transfer with a deadline.
アービタP16は、マスタA10及びマスタB11間のバス使用権を調停し、アービタQ17はブリッジ15、マスタC12及びマスタD13間のバス使用権を調停する。
The arbiter P16 arbitrates the right to use the bus between the master A10 and the master B11, and the arbiter Q17 arbitrates the right to use the bus between the
尚、本実施形態では、アービタQ17は、アービタP16から出力される緊急度評価値21も考慮してバス使用権を与えるマスタを決定する。このバス使用権を与える処理は、更に詳述する。
In the present embodiment, the arbiter Q17 determines the master to which the bus use right is given in consideration of the
アービタP16は、図2に示すように、マスタA10のデータ量設定レジスタ201、デッドライン設定レジスタ203、データ転送量カウンタ205、タイマ207、緊急度評価値算出部209、緊急度評価値選択部211を有する。更に、マスタA10の緊急度評価値送信部213、緊急度評価値受信部215を有する。
As shown in FIG. 2, the arbiter P16 includes a data
ここで、データ量設定レジスタ201には、マスタA10のデータ転送量が設定され、デッドライン設定レジスタ203にはマスタA10のデータ転送を行う時間が設定される。データ転送量カウンタ205では、データ量設定レジスタ201の設定値からマスタA10が転送を完了したデータ量をデクリメントし、残りデータ量をカウントする。タイマ207は、マスタA10から最初のスレーブアクセス要求が到着した後に、デッドライン設定レジスタ203に格納されている時間からカウントダウンを開始し、残り時間を出力する。緊急度評価値算出部209は、データ転送量カウンタ205でカウントされた残りデータ量をタイマ207が出力する残り時間で割り、緊急度評価値を算出する。
Here, the data transfer amount of the master A10 is set in the data
緊急度評価値選択部211は、緊急度評価値算出部209で算出された緊急度評価値と、緊急度評価値受信部215が受信した緊急度評価値とを比較し、最も緊急度の高いものを選択する。緊急度評価値送信部213は、緊急度評価値算出部209が出力する緊急度評価値301を他のデッドライン保証アービタへ転送する。緊急度評価値受信部215は、他のデッドライン保証アービタから転送されてくる緊急度評価値303を受信し、緊急度評価値選択部211へ通知する。
The urgency evaluation
また同様に、アービタP16は、マスタB11のデータ量設定レジスタ202、デッドライン設定レジスタ204、データ転送量カウンタ206、タイマ208、緊急度評価値算出部210、緊急度評価値選択部212を有する。更に、マスタB11の緊急度評価値送信部214、緊急度評価値受信部216を有する。また、レジスタ、カウンタ、タイマなどは上述のマスタA10のレジスタ、カウンタ、タイマなどと同じ機能を有するものである。
Similarly, the arbiter P16 includes a data
更に、アービタP16は、緊急度評価値選択部211、212から各々通知される緊急度評価値305、306を比較し、最も緊急度(優先度)が高いマスタからスレーブへのアクセスを優先して調停する調停部217を有する。
Furthermore, the arbiter P16 compares the
尚、アービタQ17の構成は、図2に示すアービタP16のマスタA10及びマスタB11がマスタC12及びマスタD13に代わるだけで、アービタP16と同様である。 The configuration of the arbiter Q17 is the same as that of the arbiter P16 except that the master A10 and the master B11 of the arbiter P16 shown in FIG. 2 are replaced with the master C12 and the master D13.
ここで、常にデッドライン保証の一番厳しいマスタの緊急度評価値を使用し、マスタのデッドラインを保証する処理を説明する。 Here, a process for guaranteeing a master deadline using the master's urgency evaluation value that is always the most strict with deadline guarantee will be described.
マスタA10及びマスタB11は、アービタP16によって調停される。マスタA10が転送要求req00を出し、マスタB11が転送要求req01を出していなければ、アービタP16はマスタA10にPバス19の使用を認める。この場合、ブリッジ15がQバス20のマスタとしてマスタA10の緊急度評価値を使用し、アービタQ17に対して転送要求req00を出す。ここで、Qバス20のマスタであるマスタC12が転送要求req10を出し、マスタD13が転送要求req11を出し、その緊急度評価値がreq11>req10>req00であれば、アービタQ17はマスタD13にQバス20の使用を認める。
Master A10 and master B11 are arbitrated by arbiter P16. If the master A10 has issued the transfer request req00 and the master B11 has not issued the transfer request req01, the arbiter P16 allows the master A10 to use the
このとき、マスタB11からも転送要求req01が発生し、緊急度評価値がreq01>req11>req10>req00のような場合、従来の手法だと問題が生じた。つまり、転送要求req01の緊急度評価値が高いにも関わらず、転送要求req00がQバス20の使用権を取得できないため、転送要求req01のデッドラインを保証できなくなる可能性があった。
At this time, when the transfer request req01 is also generated from the master B11 and the urgency evaluation value is req01> req11> req10> req00, there is a problem with the conventional method. That is, there is a possibility that the deadline of the transfer request req01 cannot be guaranteed because the transfer request req00 cannot acquire the right to use the
本実施形態では、後からマスタB11でreq01が出された時点で、マスタA10からの転送要求であるreq00と、マスタB11からの転送要求であるreq01の緊急度評価値を比較する。ここで、転送要求req01の緊急度評価値が高ければ、アービタP16はアービタQ17に対してQバス20の使用権の調停に転送要求req01の緊急度評価値を用いるように通達する。
In the present embodiment, the urgency evaluation value of req00, which is a transfer request from the master A10, is compared with the urgency evaluation value of req01, which is a transfer request from the master B11, when req01 is issued later by the master B11. Here, if the urgency evaluation value of the transfer request req01 is high, the arbiter P16 notifies the arbiter Q17 to use the urgency evaluation value of the transfer request req01 for mediation of the right to use the
これにより、アービタQ17はブリッジ15からの転送要求の緊急度評価値が一番高いと認識し、マスタA10からの転送要求req00を受け取り、マスタA10にQバス20の使用権を与える。従って、マスタA10の転送が終了し、マスタB11の転送が早く開始される。
Thereby, the arbiter Q17 recognizes that the urgency evaluation value of the transfer request from the
図3は、本実施形態におけるデッドライン保証アービタの処理を示すフローチャートである。尚、この処理は、アービタP16又はアービタQ17で処理されるものである。 FIG. 3 is a flowchart showing the processing of the deadline guarantee arbiter in the present embodiment. This process is performed by the arbiter P16 or the arbiter Q17.
まず、ステップS301で、マスタからスレーブ18への転送要求があれば、ステップS302へ処理を進め、複数のマスタから転送要求が出されたか否かを判定する。ここで、複数のマスタではなく、単一マスタから転送要求が出されたならば、ステップS303へ処理を進め、そのマスタにバスの使用権を与える。そして、ステップS301に戻り、新たな転送要求があるまで待つ。
First, if there is a transfer request from the master to the
一方、ステップS302で、複数のマスタから転送要求が出されたならば、ステップS304へ処理を進め、転送要求を出した複数のマスタの緊急度評価値を計算する。次に、ステップS305で、バス構成がブリッジを介した多段バス構成で、かつ上位にアービタがあるか否かを判定する。ここで、多段バス構成で、上位にアービタがあれば、アービタP16での処理となり、ステップS306へ処理を進め、緊急度評価値の一番高いマスタにバスの使用権を与えているか否かを判定する。ここで、緊急度評価値の一番高いマスタにバスの使用権を与えていれば、ステップS301に戻る。 On the other hand, if a transfer request is issued from a plurality of masters in step S302, the process proceeds to step S304, and the urgency evaluation values of the plurality of masters issuing the transfer requests are calculated. Next, in step S305, it is determined whether or not the bus configuration is a multi-stage bus configuration via a bridge and there is an arbiter at the upper level. Here, if there is an arbiter at the upper level in a multi-stage bus configuration, the process is performed by the arbiter P16, and the process proceeds to step S306, where it is determined whether or not the master having the highest urgency evaluation value has been given the bus use right. judge. If the right to use the bus is given to the master with the highest urgency evaluation value, the process returns to step S301.
しかし、ステップS306で、緊急度評価値の一番高いマスタにバスの使用権を与えていなければ、ステップS307へ処理を進め、一番高い緊急度評価値を上位のアービタ、即ちアービタQ17に通知する。そして、ステップS308で、緊急度評価値の一番高いマスタにバスの使用権を与える。 However, if the right to use the bus is not given to the master with the highest urgency evaluation value in step S306, the process proceeds to step S307, and the highest urgency evaluation value is notified to the upper arbiter, that is, arbiter Q17. To do. In step S308, the right to use the bus is given to the master with the highest urgency evaluation value.
一方、ステップS305で、多段バス構成で、上位にアービタがなければ、アービタQ17での処理となり、ステップS308へ処理を進め、緊急度評価値の一番高いマスタにバスの使用権を与える。尚、アービタQ17は、アービタP16から緊急度評価値21が通知されていれば、その緊急度評価値21を含めて緊急度評価値の一番高いマスタにバスの使用権を与える。
On the other hand, in step S305, if there is no arbiter at the upper level in the multi-stage bus configuration, processing is performed in arbiter Q17, and the processing proceeds to step S308 to give the bus use right to the master with the highest urgency evaluation value. If the
以上説明したように、緊急度評価値の高い転送要求が後から来た場合でもデッドライン保証アービタ間で緊急度評価値を伝播することで、効率良くデッドライン保証を行うことが可能となる。 As described above, even when a transfer request with a high urgency evaluation value comes later, the urgency evaluation value is propagated between the deadline guarantee arbiters, so that deadline guarantee can be performed efficiently.
尚、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(CPU若しくはMPU)が記録媒体に格納されたプログラムコードを読出し実行する。これによっても、本発明の目的が達成されることは言うまでもない。 A recording medium recording software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (CPU or MPU) of the system or apparatus stores program codes stored in the recording medium. Read and execute. It goes without saying that the object of the present invention can also be achieved by this.
この場合、記録媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記録媒体は本発明を構成することになる。 In this case, the program code itself read from the recording medium realizes the functions of the above-described embodiment, and the recording medium storing the program code constitutes the present invention.
このプログラムコードを供給するための記録媒体として、例えばフレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。 As a recording medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、次の場合も含まれることは言うまでもない。即ち、プログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理により前述した実施形態の機能が実現される場合である。 In addition, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the following cases are included. That is, based on the instruction of the program code, an OS (operating system) running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. .
更に、記録媒体から読出されたプログラムコードがコンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込む。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理により前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, the program code read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. After that, based on the instruction of the program code, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing, and the function of the above-described embodiment is realized by the processing. Needless to say.
10 マスタA
11 マスタB
12 マスタC
13 マスタD
15 ブリッジ
16 アービタP
17 アービタQ
18 スレーブ
19 Pバス
20 Qバス
21 緊急度評価値
10 Master A
11 Master B
12 Master C
13 Master D
15
17 Arbiter Q
18 Slave 19 P bus 20
Claims (2)
前記第1のバス調停装置は、前記第1のバスに繋がる第1のマスタが転送要求を出し、前記第1のバスに繋がる第2のマスタが転送要求を出していなければ、前記第1のマスタに前記第1のバスの使用を認め、
前記ブリッジは、前記第1のバス調停装置が前記第1のマスタに前記第1のバスの使用を認めた場合、前記第2のバス調停装置に転送要求を出し、
前記第2のバス調停装置は、前記ブリッジと前記第2のバスに繋がるマスタとが転送要求を出し、前記ブリッジが出した転送要求の緊急度より前記第2のバスに繋がるマスタが出した転送要求の緊急度が高い場合、前記第2のバスに繋がるマスタに前記第2のバスの使用を認め、
前記第1のバス調停装置は、前記ブリッジによる前記第2のバスの使用が認められない場合に前記第2のマスタが前記第1のマスタが出した転送要求よりも緊急度が高い転送要求を出した場合、前記第2のマスタが出した転送要求の緊急度を前記第2のバス調停装置に通知し、
前記第2のバス調停装置は、前記第1のバス調停装置から通知された緊急度と前記第2のバスに繋がるマスタが出した転送要求の緊急度とに基づいて前記第2のバスの使用権を調停することを特徴とするバスシステムのバス調停方法。 A bridge that connects the first bus and the second bus; a first bus arbitration device that arbitrates the right to use the first bus; and a second bus that arbitrates the right to use the second bus. A bus arbitration method for a bus system comprising an arbitration device,
If the first master connected to the first bus issues a transfer request and the second master connected to the first bus does not issue a transfer request, the first bus arbitration device Allow the master to use the first bus,
The bridge issues a transfer request to the second bus arbitration device when the first bus arbitration device authorizes the first master to use the first bus;
In the second bus arbitration device, the bridge and the master connected to the second bus issue a transfer request, and the transfer issued by the master connected to the second bus from the urgency of the transfer request issued by the bridge. If the urgency of the request is high, the master connected to the second bus is allowed to use the second bus,
The first bus arbitration device issues a transfer request having a higher urgency than the transfer request issued by the first master when the second master is not permitted to use the second bus by the bridge. If issued, notify the second bus arbitration device of the urgency of the transfer request issued by the second master,
The second bus arbitration device uses the second bus based on the urgency level notified from the first bus arbitration device and the urgency level of the transfer request issued by the master connected to the second bus. A bus arbitration method for a bus system, characterized by arbitrating a right.
前記第1のバス調停装置は、前記第1のバスに繋がる第1のマスタが転送要求を出し、前記第1のバスに繋がる第2のマスタが転送要求を出していなければ、前記第1のマスタに前記第1のバスの使用を認め、If the first master connected to the first bus issues a transfer request and the second master connected to the first bus does not issue a transfer request, the first bus arbitration device Allow the master to use the first bus,
前記ブリッジは、前記第1のバス調停装置が前記第1のマスタに前記第1のバスの使用を認めた場合、前記第2のバス調停装置に転送要求を出し、The bridge issues a transfer request to the second bus arbitration device when the first bus arbitration device authorizes the first master to use the first bus;
前記第2のバス調停装置は、前記ブリッジと前記第2のバスに繋がるマスタとが転送要求を出し、前記ブリッジが出した転送要求の緊急度より前記第2のバスに繋がるマスタが出した転送要求の緊急度が高い場合、前記第2のバスに繋がるマスタに前記第2のバスの使用を認め、In the second bus arbitration device, the bridge and the master connected to the second bus issue a transfer request, and the transfer issued by the master connected to the second bus from the urgency of the transfer request issued by the bridge. If the urgency of the request is high, the master connected to the second bus is allowed to use the second bus,
前記第1のバス調停装置は、前記ブリッジによる前記第2のバスの使用が認められない場合に前記第2のマスタが前記第1のマスタが出した転送要求よりも緊急度が高い転送要求を出した場合、前記第2のマスタが出した転送要求の緊急度を前記第2のバス調停装置に通知し、The first bus arbitration device issues a transfer request having a higher urgency than the transfer request issued by the first master when the second master is not permitted to use the second bus by the bridge. If issued, notify the second bus arbitration device of the urgency of the transfer request issued by the second master,
前記第2のバス調停装置は、前記第1のバス調停装置から通知された緊急度と前記第2のバスに繋がるマスタが出した転送要求の緊急度とに基づいて前記第2のバスの使用権を調停することを特徴とするバスシステム。The second bus arbitration device uses the second bus based on the urgency level notified from the first bus arbitration device and the urgency level of the transfer request issued by the master connected to the second bus. A bus system characterized by mediating rights.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006343494A JP4953794B2 (en) | 2006-12-20 | 2006-12-20 | Bus arbitration method for bus system and bus system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006343494A JP4953794B2 (en) | 2006-12-20 | 2006-12-20 | Bus arbitration method for bus system and bus system |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2008158585A JP2008158585A (en) | 2008-07-10 |
JP2008158585A5 JP2008158585A5 (en) | 2010-02-12 |
JP4953794B2 true JP4953794B2 (en) | 2012-06-13 |
Family
ID=39659458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006343494A Expired - Fee Related JP4953794B2 (en) | 2006-12-20 | 2006-12-20 | Bus arbitration method for bus system and bus system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4953794B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010282405A (en) * | 2009-06-04 | 2010-12-16 | Renesas Electronics Corp | Data processing system |
US20120089759A1 (en) * | 2010-10-08 | 2012-04-12 | Qualcomm Incorporated | Arbitrating Stream Transactions Based on Information Related to the Stream Transaction(s) |
JP5417305B2 (en) * | 2010-11-25 | 2014-02-12 | 京セラドキュメントソリューションズ株式会社 | Information processing device |
JP2021196681A (en) * | 2020-06-10 | 2021-12-27 | ルネサスエレクトロニクス株式会社 | Semiconductor device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004013356A (en) * | 2002-06-04 | 2004-01-15 | Matsushita Electric Ind Co Ltd | Bus arbitration system |
JP4974508B2 (en) * | 2005-10-28 | 2012-07-11 | キヤノン株式会社 | Bus master device, bus arbitration device, and bus arbitration method |
-
2006
- 2006-12-20 JP JP2006343494A patent/JP4953794B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008158585A (en) | 2008-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0343770B1 (en) | Multi-bus microcomputer system with bus arbitration | |
EP3238080B1 (en) | Guaranteed quality of service in system-on-a-chip uncore fabric | |
TWI633424B (en) | Power management in an uncore fabric | |
JPS5812611B2 (en) | Data Tensou Seigiyohoushiki | |
JP2005258867A (en) | Resource managing apparatus | |
JPH061458B2 (en) | Distribution arbitration apparatus and method for shared bus | |
JPH08297632A (en) | Method and apparatus for arbitration to bus enabling split transaction bus protocol | |
JPH0467224B2 (en) | ||
JP4953794B2 (en) | Bus arbitration method for bus system and bus system | |
JP2015530679A (en) | Method and apparatus using high efficiency atomic operations | |
KR960042385A (en) | Arbitrator by LRU | |
JP4974508B2 (en) | Bus master device, bus arbitration device, and bus arbitration method | |
JP2002304369A (en) | Bus system | |
JP2006195714A (en) | Resource management device | |
JP2007280253A (en) | Information processor and information processing method | |
US6973520B2 (en) | System and method for providing improved bus utilization via target directed completion | |
JP2007058716A (en) | Data transfer bus system | |
JP2011059915A (en) | Semiconductor device | |
JPH10320349A (en) | Processor and data transfer system using the processor | |
TW200536322A (en) | Method of arbitrationg which allows requestors from multiple frequency domains | |
JP2010140440A (en) | Bus arbitration device | |
WO2007039933A1 (en) | Operation processing device | |
JP2005056239A (en) | Semiconductor integrated circuit | |
JP4190629B2 (en) | Multiprocessor system | |
KR930001586B1 (en) | Microcomputer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091218 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091218 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120105 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120221 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120309 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120313 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4953794 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150323 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |