JP2005025670A - Bus control system, bus master, and bus arbitor - Google Patents
Bus control system, bus master, and bus arbitor Download PDFInfo
- Publication number
- JP2005025670A JP2005025670A JP2003270428A JP2003270428A JP2005025670A JP 2005025670 A JP2005025670 A JP 2005025670A JP 2003270428 A JP2003270428 A JP 2003270428A JP 2003270428 A JP2003270428 A JP 2003270428A JP 2005025670 A JP2005025670 A JP 2005025670A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- buses
- permission
- request
- master
- 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
Links
Images
Landscapes
- Bus Control (AREA)
Abstract
Description
本発明は、複数のバスにそれぞれ接続された複数のバスマスタから発生した、バスを使用する要求の競合を調停して複数のバススレーブ間のデータ転送を制御するバス制御システム、バスマスタ及びバスアービタに関する。 The present invention relates to a bus control system, a bus master, and a bus arbiter that control data transfer between a plurality of bus slaves by arbitrating contention for requests to use the bus generated from a plurality of bus masters respectively connected to a plurality of buses.
従来、複数のバスマスタ及び複数のバススレーブがバスに接続されたバス制御システムでは、バススレーブに対するバスマスタのデータ転送要求を、バススレーブが接続されているバスへのバス使用要求であるとして受け取り、このバス使用要求を調停し、バスの使用権を1つのバスマスタだけに与えるバスアービタを用いることが一般的である。 Conventionally, in a bus control system in which a plurality of bus masters and a plurality of bus slaves are connected to a bus, a bus master data transfer request to the bus slave is received as a bus use request to the bus to which the bus slave is connected. It is common to use a bus arbiter that arbitrates bus use requests and gives the right to use a bus to only one bus master.
この種のバスアービタは、1つのバスに接続された複数のバスマスタからのバススレーブに対するデータ転送要求を調停する場合に適している。また、このようなバスアービタは、予め各バスマスタにバス使用権の優先順位を設定しておき、この優先順位に基づき、1つのバスマスタにバス使用権を与えるものである(例えば、特許文献1参照)。また、このようなバスアービタは、予め各バスマスタにバス占有率を設けておき、バス占有率が閾値以上となったバスマスタの優先順位を変化させる等の調停方法を用いることで、バス使用権を決定し、効率的なデータ転送を実現するものである(例えば、特許文献2、3参照)。
上記従来のバス制御システムでは、以下のような不具合が生じていた。すなわち、複数のバスマスタが2つのバスにそれぞれ接続され、複数のバススレーブに対してデータ転送を要求するバス制御システムでは、一方のバスに接続されたバススレーブと他方のバスに接続されたバススレーブとの間でデータ転送を要求する際、一方のバス使用権を得ることができたが、他方のバス使用権を得ることができなかった場合、一方のバス使用権を得ているにもかかわらず、複数のバススレーブ間のデータ転送を行うことができず、他方のバス使用権を得るまでの間、データ転送が行われない空き時間が発生していた。したがって、この間、他のバスマスタは、バス使用権が奪われているバスに接続されたバススレーブとのデータ転送を行うことができず、効率的なデータ転送を行うことができなかった。 The above conventional bus control system has the following problems. That is, in a bus control system in which a plurality of bus masters are respectively connected to two buses and request data transfer to a plurality of bus slaves, a bus slave connected to one bus and a bus slave connected to the other bus When requesting data transfer with a bus, the right to use one bus was obtained, but if the right to use the other bus could not be obtained, the right to use one bus was obtained. Therefore, data transfer between a plurality of bus slaves cannot be performed, and an idle time during which data transfer is not performed occurs until the right to use the other bus is obtained. Therefore, during this time, other bus masters cannot perform data transfer with the bus slave connected to the bus from which the right to use the bus is deprived, and cannot perform efficient data transfer.
本発明は、上記事情に鑑みてなされたもので、異なるバスに接続された複数のバススレーブ間のデータ転送を効率的に行うことができるバス制御システム、バスマスタ及びバスアービタを提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to provide a bus control system, a bus master, and a bus arbiter capable of efficiently performing data transfer between a plurality of bus slaves connected to different buses. To do.
本発明のバス制御システムは、複数のバスにそれぞれ接続された複数のバスマスタと、前記複数のバスのいずれか1つに接続された複数のバススレーブと、前記複数のバスマスタから発生した前記バスを使用する要求の競合を調停するバスアービタとを備え、前記複数のバスを介して行われる前記バススレーブ間のデータ転送を制御するバス制御システムであって、前記バスマスタは、前記複数のバスを同時に使用する要求を発生するバス同時使用要求発生手段と、前記複数のバスの使用許可を受信するバス同時使用許可受信手段とを備え、前記バスアービタは、前記複数のバスマスタから発生した前記複数のバスを同時に使用する要求を受信するバス同時使用要求受信手段と、前記複数のバスマスタから発生した前記複数のバスを同時に使用する要求が競合する場合、1つのバスマスタに前記複数のバスの使用許可を与える選択基準を記憶する選択基準記憶手段と、前記記憶された選択基準を基に、前記複数のバスを同時に使用する要求を発生させた前記複数のバスマスタのうちのいずれに前記複数のバスの使用許可を与えるかを判定するバス使用許可判定手段と、前記判定の結果、前記使用許可が与えられるバスマスタに対し、前記複数のバスの使用許可を発生するバス同時使用許可発生手段とを備えるものである。 The bus control system according to the present invention includes a plurality of bus masters respectively connected to a plurality of buses, a plurality of bus slaves connected to any one of the plurality of buses, and the buses generated from the plurality of bus masters. A bus control system that controls data transfer between the bus slaves performed via the plurality of buses, wherein the bus master uses the plurality of buses simultaneously. A bus simultaneous use request generating means for generating a request to receive and a bus simultaneous use permission receiving means for receiving permission to use the plurality of buses, wherein the bus arbiter simultaneously outputs the plurality of buses generated from the plurality of bus masters. Simultaneous bus use request receiving means for receiving requests to be used and the plurality of buses generated from the plurality of bus masters are used simultaneously. A request to use the plurality of buses at the same time based on the selection criteria stored in the selection criteria storage means for storing the selection criteria for granting permission to use the plurality of buses to one bus master. Bus use permission determining means for determining which of the plurality of bus masters that have generated the use permission of the plurality of buses, and for the bus master to which the use permission is given as a result of the determination, the plurality of bus masters Bus simultaneous use permission generating means for generating the use permission of the other bus.
これにより、複数のバスを同時に使用する要求を受け付け、複数のバスを使用するデータ転送要求があったバスマスタに、いずれか1つのバス使用権だけでなく、全てのバス使用権を同時に与えることができる。したがって、全てのバスを使用するデータ転送要求を行ったバスマスタがその一部のバス使用権だけを得ることから生じる、その他のバスマスタのデータ転送要求が待たされることを防止できる。この結果、異なるバスに接続された複数のバススレーブ間のデータ転送を効率的に行うことができ、バスシステム全体のデータ転送の効率を向上できる。 As a result, a request to use a plurality of buses at the same time can be received, and not only any one bus use right but also all the bus use rights can be simultaneously given to a bus master having a data transfer request using a plurality of buses. it can. Therefore, it is possible to prevent waiting for data transfer requests of other bus masters, which arise from the fact that the bus master that has made a data transfer request using all the buses obtains only a part of the bus use right. As a result, data transfer between a plurality of bus slaves connected to different buses can be performed efficiently, and the data transfer efficiency of the entire bus system can be improved.
また、本発明の一態様として、上記のバス制御システムであって、前記バスマスタは、前記複数のバスの1つを使用する要求を発生するバス使用要求発生手段と、前記複数のバスの1つの使用許可を受信するバス使用許可受信手段とを備え、前記バスアービタは、前記複数のバスマスタから発生した、前記複数のバスの1つを使用する要求を受信するバス使用要求受信手段と、前記複数のバスの1つの使用許可を発生するバス使用許可発生手段とを備え、前記選択基準記憶手段は、前記複数のバスマスタから発生した、前記複数のバスの1つを使用する要求が競合する場合、1つのバスマスタに前記複数のバスの1つの使用許可を与える選択基準を記憶し、前記バス使用許可判定手段は、前記選択基準を基に、前記複数のバスの1つを使用する要求を発生させた前記複数のバスマスタのうちのいずれに前記複数のバスの1つの使用許可を与えるかを判定し、前記バス使用許可発生手段は、前記判定の結果、前記複数のバスの1つの使用許可が与えられるバスマスタに対し、前記複数のバスの1つの使用許可を発生するものとする。 According to another aspect of the present invention, in the above bus control system, the bus master includes a bus use request generation unit that generates a request to use one of the plurality of buses, and one of the plurality of buses. A bus use permission receiving means for receiving a use permission, wherein the bus arbiter receives a request to use one of the plurality of buses generated from the plurality of bus masters, and the plurality of bus use request receiving means. Bus use permission generating means for generating one use permission of the bus, and the selection reference storing means is configured to receive a request for using one of the plurality of buses generated from the plurality of bus masters. A selection criterion for granting permission to use one of the plurality of buses to one bus master is stored, and the bus use permission determining unit uses one of the plurality of buses based on the selection criterion. It is determined which one of the plurality of bus masters that has generated the request is permitted to use one of the plurality of buses, and the bus use permission generating means determines, as a result of the determination, one of the plurality of buses. It is assumed that one use permission of the plurality of buses is generated for a bus master to which use permission is given.
これにより、複数のバスマスタから同一のバスに対する使用要求があった場合、1つのバスに対するバス使用権を1つのバスマスタにだけ与えることができる。 Thereby, when there is a use request for the same bus from a plurality of bus masters, a bus use right for one bus can be given to only one bus master.
また、本発明の一態様として、上記のバス制御システムであって、前記選択基準記憶手段は、最も早く前記使用要求を発生したバスマスタに、前記使用許可を与える選択基準を記憶するものとする。これにより、最も早く使用要求を発生したバスマスタにバス使用権を与えることができ、より効率的なデータ転送を行うことができる。 Also, as one aspect of the present invention, in the bus control system described above, the selection criterion storage means stores a selection criterion that gives the use permission to the bus master that has generated the use request earliest. As a result, the right to use the bus can be given to the bus master that has issued the use request earliest, and more efficient data transfer can be performed.
また、本発明の一態様として、上記のバス制御システムであって、前記選択基準記憶手段は、予め与えられたバスマスタの優先順位にしたがって、前記使用許可を与える選択基準を記憶するものとする。これにより、優先度の高いデータ転送を司るバスマスタに高い優先順位を与えることができ、より効率的なデータ転送を行うことができる。 Also, as one aspect of the present invention, in the bus control system described above, the selection criterion storage means stores the selection criterion for granting the use permission in accordance with a bus master priority given in advance. As a result, a high priority can be given to the bus master that controls data transfer with high priority, and more efficient data transfer can be performed.
また、本発明の一態様として、上記のバス制御システムであって、前記選択基準記憶手段は、予め与えられたバスの優先順位にしたがって、前記使用許可を与える選択基準を記憶するものとする。これにより、優先度の高いバスに対する使用要求を優先してバスの使用を許可でき、より効率的なデータ転送を行うことができる。 Also, as one aspect of the present invention, in the bus control system described above, the selection criterion storage means stores the selection criterion that gives the use permission in accordance with a predetermined bus priority. As a result, the use of the bus can be permitted with priority given to the use request for the bus having a high priority, and more efficient data transfer can be performed.
また、本発明の一態様として、上記のバス制御システムであって、前記バスアービタは、前記発生した使用許可を取り消す使用許可取消手段を備え、前記バスマスタは、前記使用許可が取り消されたことを受信する取消受信手段と、前記取り消されたバスの使用を停止する使用停止手段とを備えるものとする。これにより、優先度の低いデータ転送を中止し、優先度の高いデータ転送を行うことで、効率的なデータ転送が可能となる。 According to another aspect of the present invention, in the bus control system described above, the bus arbiter includes use permission revocation means for revoking the generated use permission, and the bus master receives that the use permission has been revoked. And a cancellation receiving unit for stopping the use of the canceled bus. As a result, data transfer with low priority is stopped and data transfer with high priority is performed, thereby enabling efficient data transfer.
本発明のバスマスタは、バスアービタによってバスを使用する要求の競合が調停された複数のバスに接続され、前記複数のバスを介して行われる前記バススレーブ間のデータ転送を行うバスマスタであって、前記複数のバスを同時に使用する要求を発生するバス同時使用要求発生手段と、前記複数のバスの使用許可を受信するバス同時使用許可受信手段とを備えるものである。 The bus master of the present invention is a bus master that is connected to a plurality of buses in which contention for requests to use the bus is arbitrated by a bus arbiter and performs data transfer between the bus slaves performed via the plurality of buses, A bus simultaneous use request generating means for generating a request to use a plurality of buses at the same time, and a bus simultaneous use permission receiving means for receiving permission to use the plurality of buses.
これにより、複数のバスを同時に使用する要求を受け付け、複数のバスを使用するデータ転送要求があったバスマスタにおいて、いずれか1つのバス使用権だけでなく、全てのバス使用権を同時に受けることができる。したがって、その他のバスマスタのデータ転送要求が待たされることを防止できるため、異なるバスに接続された複数のバススレーブ間のデータ転送を効率的に行うことができ、バスシステム全体のデータ転送の効率を向上できる。 As a result, a request to use a plurality of buses simultaneously can be received, and a bus master having a data transfer request using a plurality of buses can receive not only any one bus use right but all the bus use rights at the same time. it can. Therefore, it is possible to prevent other bus masters from waiting for data transfer requests, so that data transfer between a plurality of bus slaves connected to different buses can be performed efficiently, and the data transfer efficiency of the entire bus system can be improved. It can be improved.
本発明のバスアービタは、複数のバスにそれぞれ接続された複数のバスマスタから発生した、バスを使用する要求の競合を調停するバスアービタであって、前記複数のバスマスタから発生した、前記複数のバスを同時に使用する要求を受信するバス同時使用要求受信手段と、前記複数のバスマスタから発生した、前記複数のバスを同時に使用する要求が競合する場合、1つのバスマスタに前記複数のバスの使用許可を与える選択基準を記憶する選択基準記憶手段と、前記記憶された選択基準を基に、前記複数のバスを同時に使用する要求を発生させた前記複数のバスマスタのうちのいずれに前記複数のバスの使用許可を与えるかを判定するバス使用許可判定手段と、前記判定の結果、前記使用許可が与えられるバスマスタに対し、前記複数のバスの使用許可を発生するバス同時使用許可発生手段とを備えるものである。 A bus arbiter according to the present invention is a bus arbiter that arbitrates contention for requests to use a bus generated from a plurality of bus masters respectively connected to a plurality of buses, and simultaneously processes the plurality of buses generated from the plurality of bus masters. Selection for granting permission to use a plurality of buses to one bus master when a request for simultaneous use of a bus for receiving a request to be used and a request for using the plurality of buses simultaneously generated from the plurality of bus masters conflict Based on the selection criteria storage means for storing the criteria and the stored selection criteria, permission to use the plurality of buses is given to any of the plurality of bus masters that have generated a request to use the plurality of buses simultaneously. A bus use permission judging means for judging whether to give the bus master to which the use permission is given as a result of the judgment. It is intended and a bus concurrent use permitted generating means for generating a permission to use the nest.
これにより、複数のバスを同時に使用する要求を受け付け、複数のバスを使用するデータ転送要求があったバスマスタに対して、いずれか1つのバス使用権だけでなく、全てのバス使用権を同時に与えることができる。したがって、その他のバスマスタのデータ転送要求が待たされることを防止できるため、異なるバスに接続された複数のバススレーブ間のデータ転送を効率的に行うことができ、バスシステム全体のデータ転送の効率を向上できる。 As a result, a request to use a plurality of buses at the same time is accepted, and not only any one bus use right but all the bus use rights are simultaneously given to a bus master having a data transfer request using a plurality of buses. be able to. Therefore, it is possible to prevent other bus masters from waiting for data transfer requests, so that data transfer between a plurality of bus slaves connected to different buses can be performed efficiently, and the data transfer efficiency of the entire bus system can be improved. It can be improved.
本発明によれば、異なるバスに接続された複数のバススレーブ間のデータ転送を効率的に行うことが可能なバス制御システム、バスマスタ及びバスアービタを提供できる。 According to the present invention, it is possible to provide a bus control system, a bus master, and a bus arbiter capable of efficiently performing data transfer between a plurality of bus slaves connected to different buses.
(第1の実施形態)
図1は本発明の第1の実施形態を説明するためのバス制御システムの構成を示す図である。バス制御システム100は、第1バス41、第2バス42、第1バスマスタ11、第2バスマスタ12、バスアービタ20、及び第1〜第6のバススレーブ31〜36を有して構成される。
(First embodiment)
FIG. 1 is a diagram showing a configuration of a bus control system for explaining a first embodiment of the present invention. The
第1バスマスタ11は、第1バス41に接続される第1バスインタフェース部76と、第2バス42に接続される第2バスインタフェース部78と、バススレーブに対するデータ転送要求を発生するデータ転送要求発生部79とを備える。また、第1バス41の使用要求を発生する第1バス使用要求発生部70と、第2バス42の使用要求を発生する第2バス使用要求発生部71と、第1バス41及び第2バス42の同時使用要求を発生するバス同時使用要求発生部72と、第1バス41の使用要求許可を受信する第1バス使用要求許可受信部73と、第2バス42の使用要求許可を受信する第2バス使用要求許可受信部74と、第1バス41及び第2バス42の同時使用許可を受信するバス同時使用要求許可受信部75とを備える。さらに、前記データ転送要求に対するバス使用許可の有無を調べ、バス使用権を獲得した際、第1バスインタフェース部76と第2バスインタフェース部78の少なくとも一方を介して第1〜第6のバススレーブ31〜36とのデータ転送を制御するバスアクセス制御部77を備える。
The first bus master 11 includes a first
同様に、第2バスマスタ12は、第1バス41に接続される第1バスインタフェース部86と、第2バス42に接続される第2バスインタフェース部88と、バススレーブに対するデータ転送要求を発生するデータ転送要求発生部89とを備える。また、第1バス41の使用要求を発生する第1バス使用要求発生部80と、第2バス42の使用要求を発生する第2バス使用要求発生部81と、第1バス41及び第2バス42の同時使用要求を発生するバス同時使用要求発生部82と、第1バス41の使用要求許可を受信する第1バス使用要求許可受信部83と、第2バス42の使用要求許可を受信する第2バス使用要求許可受信部84と、第1バス41及び第2バス42の同時使用許可を受信するバス同時使用要求許可受信部85とを備える。さらに、前記データ転送要求に対するバス使用許可の有無を調べ、バス使用権を獲得した際、第1バスインタフェース部86と第2バスインタフェース部88の少なくとも一方を介して第1〜第6のバススレーブ31〜36とのデータ転送を制御するバスアクセス制御部87を備える。
Similarly, the second bus master 12 generates a first
ここで、バス同時使用要求発生部72、82及びバス同時使用要求許可受信部75、85は、それぞれ請求項に記載のバス同時使用要求発生手段及びバス同時使用許可受信手段の一例に相当する。また、第1バス使用要求発生部70、80及び第2バス使用要求発生部71、81は、請求項に記載のバス使用要求発生手段の一例に相当する。さらに、第1バス使用要求許可受信部73、83及び第2バス使用要求許可受信部74、84は、請求項に記載のバス使用許可受信手段の一例に相当する。
Here, the simultaneous bus use
バスアービタ20は、第1バス使用要求発生部70、80からの第1バス使用要求を受信する第1バス使用要求受信部91と、第2バス使用要求発生部71、81からの第2バス使用要求を受信する第2バス使用要求受信部92と、バス同時使用要求発生部72、82からの第1バス41及び第2バス42の同時使用要求を受信するバス同時使用要求受信部93と、バスの使用許可を判定するための選択基準が記憶されたバス使用許可選択基準記憶部98とを備える。また、第1バス使用要求受信部91、第2バス使用要求受信部92及びバス同時使用要求受信部93で受信した各バスマスタのバス使用要求に対し、バス使用許可選択基準記憶部98に記憶された選択基準を基に、どのバス使用要求元のバスマスタにバス使用を許可するかを判定するバス使用許可判定部97を備える。さらに、バス使用許可判定部97による判定の結果に基づき、許可されたバス使用要求元のバスマスタに、第1バス使用要求許可を発生する第1バス使用要求許可発生部94と、上記と同様に、第2バス使用要求許可を発生する第2バス使用要求許可発生部95と、第1バス41及び第2バス42の同時使用許可を発生するバス同時使用許可発生部96とを備える。
The
ここで、バス同時使用要求受信部93、バス使用許可選択基準記憶部98、バス使用許可判定部97及びバス同時使用許可発生部96は、それぞれ請求項に記載のバス同時使用要求受信手段、選択基準記憶手段、バス使用許可判定手段及びバス同時使用許可発生手段の一例に相当する。また、第1バス使用要求受信部91及び第2バス使用要求受信部92は、請求項に記載のバス使用要求受信手段の一例に相当する。さらに、第1バス使用許可発生部94及び第2バス使用要求許可発生部95は、請求項に記載のバス使用許可発生手段の一例に相当する。
Here, the simultaneous bus use request receiving unit 93, the bus use permission selection criterion storage unit 98, the bus use
第1〜第3バススレーブ31〜33は、第1バス41を介して第1バスマスタ11または第2バスマスタ12とのデータ転送を行う。同様に、第4〜第6バススレーブ34〜36は、第2バス42を介して第1バスマスタ11または第2バスマスタ12とのデータ転送を行う。
The first to
上記構成を有するバス制御システム100の動作を示す。図2は第1の実施形態におけるバス制御システム100の各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートである。区間aでは、データ転送要求発生部79において第1バススレーブ31に対するデータ転送要求が発生すると、その要求を受け付けたバスアクセス制御部77は、第1バススレーブ31が接続されている第1バス41への使用要求を第1バス使用要求発生部70に伝える。第1バス使用要求発生部70は、第1バスマスタ第1バス使用要求信号51をバスアービタ20に出力する。したがって、区間aでは、第1バスマスタ第1使用要求信号51がハイレベルとなっている。
The operation of the
このとき、第2バスマスタ12が第1バス使用要求を発生させていない場合、バスアービタ20内の第1バス使用要求受信部91は、第1バスマスタ11のバス使用要求だけを受信する。バス使用許可判定部97は、第1バスマスタ11による第1バス41の使用許可を判定し、判定の結果、使用が許可されると、第1バス使用要求許可発生部94は、第1バスマスタ第1バス使用要求許可信号61をハイレベルにして出力する。この信号がハイレベルのとき、第1バスマスタ11は、第1バス41を使用可能である。この使用許可信号を受け付けた第1バス使用要求許可受信部73は、第1バス41が使用可能となったことをバスアクセス制御部77に伝えると、第1バスマスタ11は、第1バスインタフェース部76及び第1バス41を介して、第1バススレーブ31とのデータ転送を可能とする。
At this time, when the second bus master 12 does not generate the first bus use request, the first bus use
区間bでは、データ転送要求発生部79において第4バススレーブ34に対するデータ転送要求が発生すると、その要求を受け付けたバスアクセス制御部77は、第4バススレーブ34が接続されている第2バス42への使用要求を第2バス使用要求発生部71に伝える。第2バス使用要求発生部71は、バスアービタ20に第1バスマスタ第2バス使用要求信号52を出力する。したがって、区間bでは、第1バスマスタ第2バス使用要求信号52がハイレベルとなっている。
In section b, when a data transfer request for the
このとき、第2バスマスタ12が第2バス使用要求を発生させていない場合、バスアービタ20内の第2バス使用要求受信部92は、第1バスマスタ11のバス使用要求だけを受信する。バス使用許可判定部97は、第1バスマスタ11による第2バス42の使用許可を判定し、判定の結果、使用が許可されると、第2バス使用要求許可発生部95は、第1バスマスタ第2バス使用要求許可信号62をハイレベルにして出力する。この信号がハイレベルのとき、第1バスマスタ11は、第2バス42を使用可能である。この使用許可信号を受け付けた第2バス使用要求許可受信部74は、第2バス42が使用可能となったことをバスアクセス制御部77に伝えると、第1バスマスタ11は、第2バスインタフェース部78及び第2バス42を介して、第4バススレーブ34とのデータ転送を可能とする。
At this time, when the second bus master 12 does not generate the second bus use request, the second bus use
区間cでは、データ転送要求発生部79において第2バススレーブ32から第5バススレーブ35に対するデータ転送要求が発生すると、その要求を受け付けたバスアクセス制御部77は、第2バススレーブ32が接続されている第1バス41と第5バススレーブ35が接続されている第2バス42への使用要求をバス同時使用要求発生部72に伝える。バス同時使用要求発生部72は、バスアービタ20に第1バスマスタバス同時使用要求信号53を出力する。したがって、区間cでは、第1バスマスタバス同時使用要求信号53がハイレベルとなっている。
In section c, when the data transfer
このとき、第2バスマスタ12がバス同時使用要求を発生させていない場合、バスアービタ20内のバス同時使用要求受信部93は、第1バスマスタ11のバス使用要求だけを受信する。バス使用許可判定部97は、第1バスマスタ11による第1バス41及び第2バス42の同時使用許可を判定し、判定の結果、使用が許可されると、バス同時使用要求許可発生部96は、第1バスマスタバス同時使用要求許可信号63をハイレベルにして出力する。この信号がハイレベルのとき、第1バスマスタ11は、第1バス41及び第2バス42を同時使用可能である。この使用許可信号を受け付けたバス同時使用要求許可受信部75は、第1バス41及び第2バス42が使用可能となったことをバスアクセス制御部77に伝えると、第1バスマスタ11は、第1バス41、第2バス42、第1バスインタフェース76及び第2バスインタフェース78を介して、第2バススレーブ32及び第5バススレーブ35間のデータ転送を可能とする。
At this time, if the second bus master 12 does not generate a simultaneous bus use request, the simultaneous bus use request reception unit 93 in the
このように、第1の実施形態のバス制御システム100によれば、1つのバスマスタに同時に2つのバス使用権を与えることができる。したがって、2つのバスに接続された複数のバススレーブ間のデータ転送を効率的に行うことができる。
As described above, according to the
(第2の実施形態)
図3は本発明の第2の実施形態におけるバス制御システム100の各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートである。
(Second Embodiment)
FIG. 3 is a timing chart showing changes in signals at various parts of the
第2の実施形態は、複数のバスマスタから同時にバス使用要求が発生した場合、最も早くバス使用要求を発生したバスマスタにバス使用許可を与えることを特徴とする。また、バスアービタ20内のバス使用許可選択基準記憶部98には、最も早くバス使用要求を発生したバスマスタにバス使用許可を与えるための選択基準が記憶されている。この選択基準が相違することを除き、第2の実施形態のバス制御システム100の構成は前記第1の実施形態と同じである。
The second embodiment is characterized in that when a bus use request is simultaneously generated from a plurality of bus masters, a bus use permission is given to the bus master that has generated the bus use request earliest. The bus use permission selection reference storage unit 98 in the
区間dでは、データ転送要求発生部89において、第1バススレーブ31に対するデータ転送要求が発生すると、その要求を受け付けたバスアクセス制御部87は、第1バススレーブ31が接続されている第1バス41への使用要求を第1バス使用要求発生部80に伝える。第1バス使用要求発生部80は、第2バスマスタ第1バス使用要求信号54をバスアービタ20に出力する。したがって、区間dでは、第2バスマスタ第1バス使用要求信号54がハイレベルとなっている。
In the interval d, when the data transfer
このとき、第1バスマスタ11が第1バス使用要求を発生させていない場合、バスアービタ20内の第1バス使用要求受信部91は、第2バスマスタ12のバス使用要求だけを受信する。バス使用許可判定部97は、第2バスマスタ12による第1バス41の使用許可を判定し、判定の結果、使用が許可されると、第1バス使用要求許可発生部94は、第2バスマスタ第1バス使用要求許可信号64をハイレベルにして出力する。この信号がハイレベルのとき、第2バスマスタ12は、第1バス41を使用可能である。この使用許可信号を受け付けた第1バス使用要求許可受信部83は、第1バス41が使用可能となったことをバスアクセス制御部87に伝えると、第2バスマスタ12は、第1バスインタフェース部86及び第1バス41を介して、第1バススレーブ31とのデータ転送を可能とする。
At this time, when the first bus master 11 does not generate the first bus use request, the first bus use
ここで、区間dでは、第1バスマスタ11がバス同時使用要求を発生させているが、第1バス41の使用権は既に第2バスマスタ12に与えられているので、バス使用許可選択基準記憶部98に記憶されている選択基準、つまり各バスに対して最も早くバス使用要求を行ったバスマスタに使用権を与えるという基準を基に、バス使用許可判定部97は、第1バスマスタ11に、第1バス41の使用権の他、第2バス42の使用権も与えないと判定する。
Here, in section d, the first bus master 11 has generated a simultaneous bus use request, but since the right to use the
この後、第2バスマスタ12の第1バススレーブ31に対するデータ転送要求が完了すると、第1バス使用要求発生部80は、第2バスマスタ第1バス使用要求信号54をローレベルにしてバス使用要求を停止する。第1バス使用要求受信部91は、受信した使用要求停止をバス使用許可判定部97に伝える。バス使用許可判定部97は、既にバス同時使用要求受信部93で受信した第1バスマスタ11のバス同時使用要求に対する使用許可を判定し、判定の結果、使用が許可されると、第1バスマスタ11に第1バスマスタバス同時使用要求許可信号63をハイレベルにして出力する。この信号を受けると、第1バスマスタ11は、第1バス41及び第2バス42の両方を使用したデータ転送を可能とする。
Thereafter, when the data transfer request from the second bus master 12 to the
区間eでは、第2バスマスタ12が第2バス使用要求を行っている場合であり、区間dと同様の動作であるので、その詳細な説明を省略する。また、区間fでは、第1バスタ11及び第2バスマスタ12の両方が同時バス使用要求を行っている場合である。この場合も、バス使用許可選択基準記憶部98に記憶されている選択基準、つまり各バスに対して最も早くバス使用要求を行ったバスマスタに使用権を与えるという基準を基に、バス使用許可判定部97は、先にバス同時使用要求を行った第2バスマスタ12に、最初に第1バス41及び第2バス42の使用権を与えている。
In section e, the second bus master 12 makes a second bus use request, and the operation is the same as that in section d, and therefore detailed description thereof is omitted. In section f, both the first buster 11 and the second bus master 12 make a simultaneous bus use request. Also in this case, the determination of bus use permission is made based on the selection criteria stored in the bus use permission selection criteria storage unit 98, that is, the criteria for granting the use right to the bus master that has requested the bus use the earliest for each bus. The
このように、第2の実施形態のバス制御システム100によれば、最も早くバス使用要求を発生したバスマスタにバスの使用を許可する選択基準を、予めバスアービタ20内のバス使用許可選択基準記憶部98に記憶させておくことで、1つのバスまたは2つのバスに対して異なるバスマスタからの使用要求が発生した場合、確実に1つのバスマスタにだけバス使用権を与えることができる。また、2つのバスに対するバス使用要求とバス使用要求許可を取り入れることで、効率的なデータ転送が可能となる。例えば、区間dの斜線部では、第2バスマスタ12による第2バス42の使用が可能である。
As described above, according to the
(第3の実施形態)
図4は本発明の第3の実施形態におけるバス制御システム100の各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートである。
(Third embodiment)
FIG. 4 is a timing chart showing changes in signals at various parts of the
第3の実施形態は、複数のバスマスタから同時にバス使用要求が発生した場合、予め決められたバスマスタの優先順位にしたがって、バスマスタにバス使用許可を与えることを特徴とする。また、バスアービタ20内のバス使用許可選択基準記憶部98には、予め決められたバスマスタの優先順位にしたがって、バスマスタにバス使用を許可するための選択基準が記憶されている。具体的に、本実施形態の選択基準では、第2バスマスタの方が第1バスマスタより優先順位が高く、第2バスマスタ12が優先されている。この選択基準が相違することを除き、第3の実施形態のバス制御システム100の構成は前記第1の実施形態と同じである。
The third embodiment is characterized in that when a bus use request is simultaneously generated from a plurality of bus masters, a bus use permission is given to the bus master according to a predetermined priority order of the bus master. The bus use permission selection criterion storage unit 98 in the
区間gでは、第1バスマスタ11のバス同時使用要求発生部72及び第2バスマスタ12の第1バス使用要求発生部80が同時にバス使用要求を発生している。これらのバス使用要求は、それぞれバスアービタ20内のバス同時使用要求受信部93及び第1バス使用要求受信部91で受け付けられると、バス使用許可判定部97に伝えられる。バス使用許可選択基準記憶部98には、第2バスマスタ12を優先する選択基準が記憶されているので、バス使用許可判定部97は、第2バスマスタ12のバス使用要求である第1バス41の使用を許可する。この後の動作は図3の区間dと同じである。
In section g, the simultaneous bus
また、区間hでは、第2バスマスタ12が第2バス42のバス使用を要求する場合であり、バス使用許可判定部97は、第1バス42の使用を許可する。さらに、区間iでは、第2バスマスタ12が第1バス41及び第2バス42の同時使用を要求する場合であり、バス使用許可判定部97は、第1バス41及び第2バス42の同時使用を許可する。
In the section h, the second bus master 12 requests the use of the
このように、第3の実施形態のバス制御システム100によれば、予め決められたバスマスタの優先順位にしたがって、バスの使用要求を許可する選択基準を、バスアービタ20内のバス使用許可選択基準記憶部98に記憶させておくことで、バスマスタが扱うデータ転送に優先順位がある場合、1つのバスあるいは2つのバスに対して使用要求が異なるバスマスタから同時に発生した場合、1つのバスマスタだけに優先的にバス使用権を与えることが可能である。また、2つのバスに対するバス使用要求及びバス使用要求許可を取り入れることで、効率的なデータ転送が可能である。例えば、区間gの斜線部では、第2バスマスタ12による第2バス42の使用が可能である。
As described above, according to the
(第4の実施形態)
図5は本発明の第4の実施形態におけるバス制御システム100の各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートである。
(Fourth embodiment)
FIG. 5 is a timing chart showing a change in signals of each part of the
第4の実施形態は、複数のバスマスタから同時にバス使用要求が発生した場合、予め決められたバスの優先順位にしたがって、バスマスタにバス使用許可を与えることを特徴とする。また、バスアービタ20内のバス使用許可選択基準記憶部98には、予め決められたバスの優先順位にしたがって、バスマスタにバス使用許可を与えるための選択基準が記憶されている。具体的に、本実施形態の選択基準では、バスの優先順位として、第1バス41及び第2バス42の同時使用要求の方が第1バス41または第2バス42の使用要求より優先順位が高いので、第1バス41及び第2バス42の同時使用要求を優先し、さらに第2バスマスタ12の方が第1バスマスタ11より優先順位が高いので、第2バスマスタ12を優先する。この選択基準が相違することを除き、第4の実施形態のバス制御システム100の構成は前記第1の実施形態と同じである。
The fourth embodiment is characterized in that when a bus use request is generated from a plurality of bus masters at the same time, a bus use permission is given to the bus master according to a predetermined bus priority. The bus use permission selection criterion storage unit 98 in the
区間jでは、第1バスマスタ11のバス同時使用要求発生部72、及び第2バスマスタ12の第1バス使用要求発生部80で同時にバス使用要求が発生している。これらのバス使用要求は、それぞれバスアービタ20内のバス同時使用要求受信部93及び第1バス使用要求受信部91で受け付けられ、バス使用許可判定部97に伝えられる。バス使用許可選択基準記憶部98には、前述したように、バス同時使用要求を発生させたバスマスタを優先する選択基準が記憶されているので、バス使用許可判定部97は、第1バスマスタ11のバス使用要求である第1バス41及び第2バス42のバス同時使用要求を許可し、第2バスマスタ12の第1バス使用要求を許可しない。
In section j, the bus use request is simultaneously generated by the bus simultaneous use
第1バスマスタ11のバス同時使用要求が停止すると、使用要求停止を受信したバス同時使用要求受信部93は、それをバス使用許可判定部97に伝える。これを受け付けたバス使用許可判定部97は、既に第1バス使用要求受信部91で受信した第2バスマスタ12のバス使用要求に対し、バス使用を許可し、第2バスマスタ12に第2バスマスタ第1バス使用要求信号64を出力する。これを受け付けた第2バスマスタ12は、第1バス41を介してデータ転送が可能となる。
When the bus simultaneous use request of the first bus master 11 is stopped, the bus simultaneous use request receiving unit 93 that has received the use request stop notifies the bus use
区間kでは、第2バスマスタ12が第2バス42のバス使用要求を行う場合であり、区間jと同様の動作であるので、その詳細な説明を省略する。
In section k, the second bus master 12 makes a bus use request for the
区間lでは、第1バスマスタ11のバス同時使用要求発生部72、及び第2バスマスタ12のバス同時使用要求発生部82で同時にバス同時使用要求が発生している。これらのバス使用要求は、バスアービタ20内のバス同時使用要求受信部93で受け付けられ、バス使用許可判定部97に伝えられる。バス使用許可選択基準記憶部98には、前述したように、バス同時使用を要求するバスマスタを優先する選択基準が記憶されているが、この場合、第1バスマスタ11及び第2バスマスタ12の両方がバス同時使用要求を発生しているので、この選択基準では、バス使用を1つのバスマスタに許可することはできない。したがって、前述した第2バスマスタ12を優先する選択基準が適用されることになり、バス使用許可判定部97は、第2バスマスタ12のバス同時使用要求を許可する。この後の動作は図4の区間iと同じである。
In section l, a simultaneous bus use request is simultaneously generated by the simultaneous bus
このように、第4の実施形態の制御システム100によれば、予め決められたバスの優先順位にしたがって、バスマスタにバス使用要求を許可する選択基準を、バスアービタ20内のバス使用許可選択基準部98に記憶させておくことで、2つのバスを介して行われるデータ転送が優先される場合、異なるバスマスタから1つまたは2つのバスに対する使用要求が同時に発生した場合、1つのバスマスタだけに優先的にバス使用権を与えることが可能となる。
As described above, according to the
さらに、区間lで示すように、異なるバスマスタから同時に2つのバスに対する使用要求が発生した場合でも、予め決められたバスマスタの優先順位にしたがって、バス使用要求を許可する選択基準を、バス使用許可選択基準記憶部98に記憶させておくことで、1つのバスマスタに対し、優先的にバス使用権を与えることが可能である。また、2つのバスに対するバス使用要求及びバス使用要求許可を取り入れることで、効率的なデータ転送が可能となる。例えば、区間jの斜線部では、第2バスマスタ12による第2バス42の使用が可能である。
Further, as shown in section 1, even when different bus masters request to use two buses simultaneously, a selection criterion for permitting use of the bus according to a predetermined priority order of the bus master is selected as the bus use permission selection. By storing the data in the reference storage unit 98, it is possible to preferentially give a bus use right to one bus master. Further, by incorporating the bus use request and the bus use request permission for the two buses, efficient data transfer is possible. For example, the
(第5の実施形態)
図6は本発明の第5の実施形態におけるバス制御システム100の各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートである。
(Fifth embodiment)
FIG. 6 is a timing chart showing changes in signals at various parts of the
第5の実施形態では、バス使用許可判定部97は、発生している使用要求許可を取り消すことが可能である。ここで、バス使用許可判定部97は、請求項6に記載の使用許可取消手段に相当する。また、バス使用要求許可受信部73、83、74、84、75、85は、使用要求許可が取り消されたことを受信可能である。ここで、バス使用要求許可受信部73、83、74、84、75、85は、請求項6に記載の取消受信手段に相当する。さらに、バスアクセス制御部77、87は、使用要求許可が取り消されたバスの使用を停止可能である。ここで、バスアクセス制御部77、87は、請求項に記載の使用停止手段の一例に相当する。
In the fifth embodiment, the bus use
また、バスアービタ20内のバス使用許可選択基準記憶部98には、バスの優先順位として、第1バス41及び第2バス42のバス同時使用要求の方が第1バス41または第2バス42のバス使用要求より優先順位が高いので、第1バス41及び第2バス42の同時使用要求を優先し、さらに第2バスマスタ12の方が第1バスマスタ11より優先順位が高いので、第2バスマスタ12を優先する選択基準が記憶されている。その他のバス制御システム100の構成は前記第1の実施形態と同じである。
Further, in the bus use permission selection reference storage unit 98 in the
区間mでは、第2バスマスタ12が第1バス41の使用要求を行い、第2バスマスタ第1バス使用要求許可信号64が第2バスマスタ12に与えられている。この後、第1バスマスタ11が第1バスマスタバス同時使用要求信号53を出力している。このバス同時使用要求は、バス同時使用要求受信部93からバス使用許可判定部97に伝えられる。バス使用許可選択基準記憶部98には、前述したように、バス同時使用要求を行ったバスマスタに優先的にバス使用権を与える選択基準が記憶されているので、バス使用許可判定部97は第2バスマスタ12に現在与えている第1バス41の使用権を取り消し、第1バス使用要求許可発生部94は、第2バスマスタ第1バス使用要求許可信号64をローレベルにして第1バス使用要求許可受信部83に出力する。第1バス使用要求許可受信部83からバスアクセス制御部87にこのことが伝えられると、第1バス41の使用が停止される。
In the section m, the second bus master 12 makes a use request for the
一方、バス使用許可判定部97は、第1バスマスタ11に第1バス41及び第2バスマスタ42のバス同時使用権を与えるべく、第1バスマスタバス同時使用要求許可信号63をバス同時使用要求許可受信部75に出力する。この後、データ転送要求発生部79がデータ転送要求を停止すると、バス同時使用要求発生部72は、第1バスマスタバス同時使用要求信号53をローレベルにして使用要求を停止する。使用要求停止を受信したバス同時使用要求受信部93は、それをバス使用許可判定部97に伝える。これを受け付けたバス使用許可判定部97は、第1バス使用要求受信部91で受信している第2バスマスタ12の第1バス使用許可を判定し、判定の結果、再び第2バスマスタ12に第1バス41の使用許可を与える。
On the other hand, the bus use
区間nでは、第1バスマスタバス同時使用要求許可信号63が出力され、第1バスマスタ11にバス同時使用要求許可が与えられている場合、第2バスマスタ12が第1バス41の使用要求を発生している。この場合、バス使用許可選択基準記憶部98に記憶されている選択基準にしたがって、第1バスマスタ11のバス同時要求許可は中止されていない。
In section n, when the first bus master bus simultaneous use
区間oでは、第1バスマスタバス同時使用要求許可信号63が出力され、第1バスマスタ11にバス同時使用要求許可が与えられている場合、第2バスマスタ12がバス同時使用要求を発生している。この場合、区間nと同様、バス使用許可選択基準記憶部98に記憶されている選択基準にしたがって、第1バスマスタ11のバス同時要求許可は中止されていない。
In section o, when the first bus master bus simultaneous use
このように、第5の実施形態のバス制御システム100によれば、バス使用許可選択基準記憶部98に記憶されている選択基準にしたがって、優先度の低いデータ転送を中止し、優先度の高いデータ転送を行うことで、効率的なデータ転送が可能となる。
As described above, according to the
なお、本発明は、上記各実施形態に限定されないことは勿論であり、適宜変更が可能である。例えば、上記実施形態では、2つのバスに2つのバスマスタがそれぞれ接続される場合を示したが、バスの数は3つ以上であってもよく、またバスマスタの数も3つ以上であってもよい。これらの組み合わせから種々のバス制御システムが構成されるが、本発明はいずれの構成においても同様に適用可能である。また、1つのバスに接続されるバススレーブの数はいくつであってもよく、特に限定されない。 Note that the present invention is not limited to the above-described embodiments, and can be appropriately changed. For example, in the above embodiment, two bus masters are connected to two buses, respectively. However, the number of buses may be three or more, and the number of bus masters may be three or more. Good. Various combinations of these bus control systems are configured from these combinations, but the present invention is equally applicable to any configuration. Further, the number of bus slaves connected to one bus may be any number and is not particularly limited.
11 第1バスマスタ
12 第2バスマスタ
20 バスアービタ
41 第1バス
42 第2バス
31〜36 バススレーブ
72、82 バス同時使用要求発生部
75、85 バス同時使用要求許可受信部
93 バス同時使用要求受信部
96 バス同時使用要求許可発生部
97 バス使用許可判定部
98 バス使用許可選択基準記憶部
100 バス制御システム
DESCRIPTION OF SYMBOLS 11 1st bus master 12
Claims (8)
前記バスマスタは、
前記複数のバスを同時に使用する要求を発生するバス同時使用要求発生手段と、
前記複数のバスの使用許可を受信するバス同時使用許可受信手段とを備え、
前記バスアービタは、
前記複数のバスマスタから発生した前記複数のバスを同時に使用する要求を受信するバス同時使用要求受信手段と、
前記複数のバスマスタから発生した前記複数のバスを同時に使用する要求が競合する場合、1つのバスマスタに前記複数のバスの使用許可を与える選択基準を記憶する選択基準記憶手段と、
前記記憶された選択基準を基に、前記複数のバスを同時に使用する要求を発生させた前記複数のバスマスタのうちのいずれに前記複数のバスの使用許可を与えるかを判定するバス使用許可判定手段と、
前記判定の結果、前記使用許可が与えられるバスマスタに対し、前記複数のバスの使用許可を発生するバス同時使用許可発生手段と
を備えるバス制御システム。 Arbitrates contention between requests from a plurality of bus masters respectively connected to a plurality of buses, a plurality of bus slaves connected to any one of the plurality of buses, and requests from the plurality of bus masters to use the bus. A bus control system comprising a bus arbiter for controlling data transfer between the bus slaves performed via the plurality of buses,
The bus master is
A bus simultaneous use request generating means for generating a request to use the plurality of buses simultaneously;
A bus simultaneous use permission receiving means for receiving permission to use the plurality of buses,
The bus arbiter is
A bus simultaneous use request receiving means for receiving a request for simultaneously using the plurality of buses generated from the plurality of bus masters;
Selection criteria storage means for storing selection criteria for granting permission to use the plurality of buses to one bus master, when requests for simultaneously using the plurality of buses generated from the plurality of bus masters conflict;
Based on the stored selection criteria, a bus use permission judging means for judging which of the plurality of bus masters that have generated requests to use the plurality of buses simultaneously is granted use of the plurality of buses. When,
As a result of the determination, a bus control system comprising: a bus simultaneous use permission generating means for generating permission for use of the plurality of buses for a bus master to which the use permission is given.
前記バスマスタは、
前記複数のバスの1つを使用する要求を発生するバス使用要求発生手段と、
前記複数のバスの1つの使用許可を受信するバス使用許可受信手段とを備え、
前記バスアービタは、
前記複数のバスマスタから発生した、前記複数のバスの1つを使用する要求を受信するバス使用要求受信手段と、
前記複数のバスの1つの使用許可を発生するバス使用許可発生手段とを備え、
前記選択基準記憶手段は、前記複数のバスマスタから発生した、前記複数のバスの1つを使用する要求が競合する場合、1つのバスマスタに前記複数のバスの1つの使用許可を与える選択基準を記憶し、
前記バス使用許可判定手段は、前記選択基準を基に、前記複数のバスの1つを使用する要求を発生させた前記複数のバスマスタのうちのいずれに前記複数のバスの1つの使用許可を与えるかを判定し、
前記バス使用許可発生手段は、前記判定の結果、前記複数のバスの1つの使用許可が与えられるバスマスタに対し、前記複数のバスの1つの使用許可を発生するバス制御システム。 The bus control system according to claim 1,
The bus master is
Bus use request generating means for generating a request to use one of the plurality of buses;
Bus use permission receiving means for receiving use permission of one of the plurality of buses,
The bus arbiter is
Bus use request receiving means for receiving a request to use one of the plurality of buses generated from the plurality of bus masters;
Bus use permission generating means for generating one use permission of the plurality of buses,
The selection criterion storage means stores a selection criterion that gives one bus master one permission to use the plurality of buses when a request for using one of the plurality of buses is generated from the plurality of bus masters. And
The bus use permission judging means grants one use permission of the plurality of buses to any of the plurality of bus masters that have generated a request to use one of the plurality of buses based on the selection criterion. Determine whether
The bus use permission generating means generates one use permission for the plurality of buses to a bus master to which one use permission for the plurality of buses is given as a result of the determination.
前記選択基準記憶手段は、最も早く前記使用要求を発生したバスマスタに、前記使用許可を与える選択基準を記憶するバス制御システム。 The bus control system according to claim 1 or 2,
The selection criterion storage means is a bus control system for storing a selection criterion that gives the use permission to a bus master that has issued the use request earliest.
前記選択基準記憶手段は、予め与えられたバスマスタの優先順位にしたがって、前記使用許可を与える選択基準を記憶するバス制御システム。 The bus control system according to claim 1 or 2,
The selection criterion storage means is a bus control system for storing a selection criterion for granting the use permission in accordance with a bus master priority given in advance.
前記選択基準記憶手段は、予め与えられたバスの優先順位にしたがって、前記使用許可を与える選択基準を記憶するバス制御システム。 The bus control system according to claim 1 or 2,
The selection criterion storage means is a bus control system for storing a selection criterion for granting the use permission in accordance with a predetermined bus priority.
前記バスアービタは、前記発生した使用許可を取り消す使用許可取消手段を備え、
前記バスマスタは、前記使用許可が取り消されたことを受信する取消受信手段と、前記取り消されたバスの使用を停止する使用停止手段とを備えるバス制御システム。 The bus control system according to claim 1 or 2,
The bus arbiter includes use permission cancellation means for canceling the generated use permission,
The bus master includes a cancellation receiving unit that receives that the use permission has been canceled, and a use stopping unit that stops use of the canceled bus.
前記複数のバスを同時に使用する要求を発生するバス同時使用要求発生手段と、
前記複数のバスの使用許可を受信するバス同時使用許可受信手段と
を備えるバスマスタ。 A bus master that is connected to a plurality of buses that have been arbitrated for conflicting requests to use a bus by a bus arbiter, and that performs data transfer between the bus slaves performed via the plurality of buses,
A bus simultaneous use request generating means for generating a request to use the plurality of buses simultaneously;
A bus master comprising: a bus simultaneous use permission receiving unit that receives use permission of the plurality of buses.
前記複数のバスマスタから発生した、前記複数のバスを同時に使用する要求を受信するバス同時使用要求受信手段と、
前記複数のバスマスタから発生した、前記複数のバスを同時に使用する要求が競合する場合、1つのバスマスタに前記複数のバスの使用許可を与える選択基準を記憶する選択基準記憶手段と、
前記記憶された選択基準を基に、前記複数のバスを同時に使用する要求を発生させた前記複数のバスマスタのうちのいずれに前記複数のバスの使用許可を与えるかを判定するバス使用許可判定手段と、
前記判定の結果、前記使用許可が与えられるバスマスタに対し、前記複数のバスの使用許可を発生するバス同時使用許可発生手段と
を備えるバスアービタ。 A bus arbiter that arbitrates contention for requests to use a bus generated from a plurality of bus masters respectively connected to a plurality of buses,
A bus simultaneous use request receiving means for receiving a request for simultaneously using the plurality of buses generated from the plurality of bus masters;
Selection criteria storage means for storing selection criteria for granting permission to use the plurality of buses to one bus master when requests for simultaneously using the plurality of buses generated from the plurality of bus masters conflict.
Based on the stored selection criteria, a bus use permission judging means for judging which of the plurality of bus masters that have generated requests to use the plurality of buses simultaneously is granted use of the plurality of buses. When,
A bus arbiter comprising bus simultaneous use permission generating means for generating use permission of the plurality of buses for a bus master to which the use permission is given as a result of the determination.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003270428A JP2005025670A (en) | 2003-07-02 | 2003-07-02 | Bus control system, bus master, and bus arbitor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003270428A JP2005025670A (en) | 2003-07-02 | 2003-07-02 | Bus control system, bus master, and bus arbitor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005025670A true JP2005025670A (en) | 2005-01-27 |
Family
ID=34190381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003270428A Withdrawn JP2005025670A (en) | 2003-07-02 | 2003-07-02 | Bus control system, bus master, and bus arbitor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005025670A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008515090A (en) * | 2004-09-30 | 2008-05-08 | フリースケール セミコンダクター インコーポレイテッド | Data processing system with bus access cancellation |
-
2003
- 2003-07-02 JP JP2003270428A patent/JP2005025670A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008515090A (en) * | 2004-09-30 | 2008-05-08 | フリースケール セミコンダクター インコーポレイテッド | Data processing system with bus access cancellation |
JP4848375B2 (en) * | 2004-09-30 | 2011-12-28 | フリースケール セミコンダクター インコーポレイテッド | Data processing system with bus access cancellation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4480427B2 (en) | Resource management device | |
JP4907166B2 (en) | Resource management device | |
US20050102456A1 (en) | Command transmission method and command transmission apparatus in pipeline bus system | |
US20070038792A1 (en) | Systems, methods, and computer program products for arbitrating access to a shared resource based on quality-of-service information associated with a resource request | |
JP2003157227A (en) | Device and method for arbitrating bus access | |
GB2426604A (en) | Interconnect logic for data processing apparatus | |
EP1187029B1 (en) | Peripheral component interconnect arbiter implementation with dynamic priority scheme | |
JP4839155B2 (en) | Access arbitration device and access arbitration method | |
JP2005025670A (en) | Bus control system, bus master, and bus arbitor | |
KR100973419B1 (en) | Method and apparatus for arbitrating a bus | |
JP2006251875A (en) | Bus arbitration device and bus arbitration method | |
JP4177312B2 (en) | Bus arbitration system, bus arbitration device, and bridge device | |
JPH10254823A (en) | Bus arbitration device | |
KR100263791B1 (en) | Method for bus arbitration using priority | |
JPH0844662A (en) | Information processor | |
JPH0689257A (en) | Arbitration device of bus bridge | |
JP2008299624A (en) | Arbitration device and arbitration method | |
JP4170506B2 (en) | Arbitration circuit and method | |
JP2005518045A (en) | System and method for fair arbitration between multiple request signals | |
JPH0844661A (en) | Information processor | |
JP2007102509A (en) | Arbitration device | |
JP4552644B2 (en) | Bus arbitration system and bus arbitration method | |
JP4863282B2 (en) | DMA transfer device and data transfer device | |
JP4832327B2 (en) | Bus arbitration circuit | |
JP2002049581A (en) | Bus arbitration method and bus controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Effective date: 20060325 Free format text: JAPANESE INTERMEDIATE CODE: A7424 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060703 |
|
A761 | Written withdrawal of application |
Effective date: 20071010 Free format text: JAPANESE INTERMEDIATE CODE: A761 |