JP2005025670A - Bus control system, bus master, and bus arbitor - Google Patents

Bus control system, bus master, and bus arbitor Download PDF

Info

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
Application number
JP2003270428A
Other languages
Japanese (ja)
Inventor
Shinji Nakamoto
真児 中本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2003270428A priority Critical patent/JP2005025670A/en
Publication of JP2005025670A publication Critical patent/JP2005025670A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a bus control system capable of efficiently performing data transfer between a plurality of bus slaves connected to different buses. <P>SOLUTION: When a bus simultaneous use request receiving part 93 in the bus arbitor 20 receives only the simultaneous bus use request of a first bus master 11, a bus use permission determination part 97 determines the simultaneous use permission of a first bus 41 and a second bus 42, and a bus simultaneous use request permission generation part 96 outputs a first bus master bus simultaneous use request permission signal 63. When this signal is of high level, the bus simultaneous use can be performed in the first bus master 11. When a bus simultaneous use request permission receiving part 75 reports to a bus access control part 77 that the first bus 41 and the second bus 42 are usable, the first bus master 11 enables the data transfer between a second bus slave 32 and a fifth bus slave 35 through the first bus 41 and the second bus 42. <P>COPYRIGHT: (C)2005,JPO&NCIPI

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参照)。
特開2002−63130号公報 特開2002−91903号公報 特開2002−82900号公報
This type of bus arbiter is suitable for arbitrating data transfer requests from a plurality of bus masters connected to one bus to a bus slave. Also, such a bus arbiter sets a priority of bus use right to each bus master in advance, and gives a bus use right to one bus master based on this priority (see, for example, Patent Document 1). . In addition, such bus arbiters determine the bus usage rights by using an arbitration method such as setting the bus occupancy ratio for each bus master in advance and changing the priority of the bus master when the bus occupancy ratio exceeds the threshold. Thus, efficient data transfer is realized (for example, see Patent Documents 2 and 3).
JP 2002-63130 A JP 2002-91903 A JP 2002-82900 A

上記従来のバス制御システムでは、以下のような不具合が生じていた。すなわち、複数のバスマスタが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 bus control system 100 includes a first bus 41, a second bus 42, a first bus master 11, a second bus master 12, a bus arbiter 20, and first to sixth bus slaves 31 to 36.

第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 bus interface unit 76 connected to the first bus 41, a second bus interface unit 78 connected to the second bus 42, and a data transfer request for generating a data transfer request to the bus slave. And a generator 79. In addition, a first bus use request generation unit 70 that generates a use request for the first bus 41, a second bus use request generation unit 71 that generates a use request for the second bus 42, the first bus 41 and the second bus The bus simultaneous use request generating unit 72 that generates 42 simultaneous use requests, the first bus use request permission receiving unit 73 that receives use request permission for the first bus 41, and the use request permission for the second bus 42 are received. The second bus use request permission receiving unit 74 and a bus simultaneous use request permission receiving unit 75 for receiving the simultaneous use permission of the first bus 41 and the second bus 42 are provided. Further, the bus use permission for the data transfer request is checked, and when the bus use right is acquired, the first to sixth bus slaves are connected via at least one of the first bus interface unit 76 and the second bus interface unit 78. A bus access control unit 77 for controlling data transfer with 31 to 36 is provided.

同様に、第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 bus interface unit 86 connected to the first bus 41, a second bus interface unit 88 connected to the second bus 42, and a data transfer request to the bus slave. A data transfer request generation unit 89. In addition, a first bus use request generation unit 80 that generates a use request for the first bus 41, a second bus use request generation unit 81 that generates a use request for the second bus 42, the first bus 41 and the second bus The bus simultaneous use request generating unit 82 that generates 42 simultaneous use requests, the first bus use request permission receiving unit 83 that receives use request permission of the first bus 41, and the use request permission of the second bus 42 are received. A second bus use request permission receiving unit 84 and a bus simultaneous use request permission receiving unit 85 that receives the simultaneous use permission of the first bus 41 and the second bus 42 are provided. Further, the bus use permission for the data transfer request is checked, and when the bus use right is acquired, the first to sixth bus slaves are connected via at least one of the first bus interface unit 86 and the second bus interface unit 88. A bus access control unit 87 that controls data transfer with 31 to 36 is provided.

ここで、バス同時使用要求発生部72、82及びバス同時使用要求許可受信部75、85は、それぞれ請求項に記載のバス同時使用要求発生手段及びバス同時使用許可受信手段の一例に相当する。また、第1バス使用要求発生部70、80及び第2バス使用要求発生部71、81は、請求項に記載のバス使用要求発生手段の一例に相当する。さらに、第1バス使用要求許可受信部73、83及び第2バス使用要求許可受信部74、84は、請求項に記載のバス使用許可受信手段の一例に相当する。   Here, the simultaneous bus use request generation units 72 and 82 and the simultaneous bus use request permission reception units 75 and 85 correspond to examples of the simultaneous bus use request generation unit and the simultaneous bus use permission reception unit described in the claims, respectively. The first bus use request generation units 70 and 80 and the second bus use request generation units 71 and 81 correspond to an example of a bus use request generation unit described in the claims. Furthermore, the first bus use request permission receiving units 73 and 83 and the second bus use request permission receiving units 74 and 84 correspond to an example of the bus use permission receiving unit described in the claims.

バスアービタ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 bus arbiter 20 includes a first bus use request receiving unit 91 that receives the first bus use request from the first bus use request generating units 70 and 80, and a second bus use from the second bus use request generating units 71 and 81. A second bus use request receiving unit 92 for receiving a request; a simultaneous bus use request receiving unit 93 for receiving a simultaneous use request for the first bus 41 and the second bus 42 from the simultaneous bus use request generating units 72 and 82; And a bus use permission selection criterion storage unit 98 in which selection criteria for determining bus use permission are stored. In addition, the bus use permission selection reference storage unit 98 stores the bus use request of each bus master received by the first bus use request receiving unit 91, the second bus use request receiving unit 92, and the bus simultaneous use request receiving unit 93. On the basis of the selected criteria, a bus use permission determining unit 97 that determines which bus use request source bus master is permitted to use the bus is provided. Further, based on the result of determination by the bus use permission determining unit 97, a first bus use request permission generating unit 94 for generating a first bus use request permission to the bus master of the permitted bus use request source, and the same as described above. The second bus use request permission generation unit 95 that generates a second bus use request permission, and the simultaneous bus use permission generation unit 96 that generates the simultaneous use permission of the first bus 41 and the second bus 42 are provided.

ここで、バス同時使用要求受信部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 permission determining unit 97, and the simultaneous bus use permission generating unit 96 are respectively the simultaneous bus use request receiving means and the selection described in the claims. This corresponds to an example of a reference storage unit, a bus use permission determining unit, and a bus simultaneous use permission generating unit. The first bus use request receiving unit 91 and the second bus use request receiving unit 92 correspond to an example of a bus use request receiving unit described in the claims. Furthermore, the first bus use permission generation unit 94 and the second bus use request generation unit 95 correspond to an example of a bus use permission generation unit described in the claims.

第1〜第3バススレーブ31〜33は、第1バス41を介して第1バスマスタ11または第2バスマスタ12とのデータ転送を行う。同様に、第4〜第6バススレーブ34〜36は、第2バス42を介して第1バスマスタ11または第2バスマスタ12とのデータ転送を行う。   The first to third bus slaves 31 to 33 perform data transfer with the first bus master 11 or the second bus master 12 via the first bus 41. Similarly, the fourth to sixth bus slaves 34 to 36 perform data transfer with the first bus master 11 or the second bus master 12 via the second bus 42.

上記構成を有するバス制御システム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 bus control system 100 having the above configuration will be described. FIG. 2 is a timing chart showing changes in signals at various parts of the bus control system 100 and changes in permission to use the first bus and the second bus in the first embodiment. In section a, when the data transfer request generation unit 79 generates a data transfer request for the first bus slave 31, the bus access control unit 77 that has received the request receives the first bus 41 to which the first bus slave 31 is connected. The first bus use request generation unit 70 is notified of the use request for the first bus. The first bus use request generation unit 70 outputs a first bus master first bus use request signal 51 to the bus arbiter 20. Therefore, in the section a, the first bus master first use request signal 51 is at a high level.

このとき、第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 request receiving unit 91 in the bus arbiter 20 receives only the bus use request of the first bus master 11. The bus use permission determining unit 97 determines the use permission of the first bus 41 by the first bus master 11, and when the use is permitted as a result of the determination, the first bus use request permission generating unit 94 determines the first bus master first. 1 bus use request permission signal 61 is set to high level and output. When this signal is at a high level, the first bus master 11 can use the first bus 41. When the first bus use request permission receiving unit 73 that has received the use permission signal informs the bus access control unit 77 that the first bus 41 is usable, the first bus master 11 receives the first bus interface unit. Data transfer with the first bus slave 31 is enabled via the first bus 41 and the first bus 41.

区間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 fourth bus slave 34 is generated in the data transfer request generating unit 79, the bus access control unit 77 that has received the request receives the second bus 42 to which the fourth bus slave 34 is connected. The second bus use request generation unit 71 is notified of the use request for the second bus. The second bus use request generation unit 71 outputs a first bus master second bus use request signal 52 to the bus arbiter 20. Accordingly, in the section b, the first bus master second bus use request signal 52 is at a high level.

このとき、第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 request reception unit 92 in the bus arbiter 20 receives only the bus use request of the first bus master 11. The bus use permission determination unit 97 determines the use permission of the second bus 42 by the first bus master 11, and if the use is permitted as a result of the determination, the second bus use request permission generation unit 95 determines the first bus master first. The 2-bus use request permission signal 62 is set to high level and output. When this signal is at a high level, the first bus master 11 can use the second bus 42. When the second bus use request permission receiving unit 74 that has received the use permission signal informs the bus access control unit 77 that the second bus 42 is usable, the first bus master 11 receives the second bus interface unit. Data transfer with the fourth bus slave 34 is enabled via 78 and the second bus 42.

区間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 request generation unit 79 generates a data transfer request from the second bus slave 32 to the fifth bus slave 35, the bus access control unit 77 that has received the request is connected to the second bus slave 32. The use request to the second bus 42 to which the first bus 41 and the fifth bus slave 35 are connected is transmitted to the bus simultaneous use request generation unit 72. The simultaneous bus use request generator 72 outputs a first bus master bus simultaneous use request signal 53 to the bus arbiter 20. Therefore, in the section c, the first bus master bus simultaneous use request signal 53 is at a high level.

このとき、第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 bus arbiter 20 receives only the first bus master 11 bus use request. The bus use permission determining unit 97 determines the simultaneous use permission of the first bus 41 and the second bus 42 by the first bus master 11, and if the use is permitted as a result of the determination, the bus simultaneous use request permission generating unit 96 The first bus master bus simultaneous use request permission signal 63 is set to high level and output. When this signal is at a high level, the first bus master 11 can use the first bus 41 and the second bus 42 simultaneously. Having received the use permission signal, the bus simultaneous use request permission receiving unit 75 informs the bus access control unit 77 that the first bus 41 and the second bus 42 are usable, and the first bus master 11 Data transfer between the second bus slave 32 and the fifth bus slave 35 is enabled via the 1 bus 41, the second bus 42, the first bus interface 76 and the second bus interface 78.

このように、第1の実施形態のバス制御システム100によれば、1つのバスマスタに同時に2つのバス使用権を与えることができる。したがって、2つのバスに接続された複数のバススレーブ間のデータ転送を効率的に行うことができる。   As described above, according to the bus control system 100 of the first embodiment, two bus use rights can be simultaneously given to one bus master. Therefore, data transfer between a plurality of bus slaves connected to two buses can be performed efficiently.

(第2の実施形態)
図3は本発明の第2の実施形態におけるバス制御システム100の各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートである。
(Second Embodiment)
FIG. 3 is a timing chart showing changes in signals at various parts of the bus control system 100 and changes in the use permission of the first bus and the second bus in the second embodiment of the present invention.

第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 bus arbiter 20 stores a selection reference for giving a bus use permission to the bus master that has generated the bus use request earliest. Except that this selection criterion is different, the configuration of the bus control system 100 of the second embodiment is the same as that of the first embodiment.

区間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 request generation unit 89 generates a data transfer request to the first bus slave 31, the bus access control unit 87 that has received the request receives the first bus to which the first bus slave 31 is connected. The use request to 41 is transmitted to the first bus use request generation unit 80. The first bus use request generation unit 80 outputs a second bus master first bus use request signal 54 to the bus arbiter 20. Therefore, in the section d, the second bus master first bus use request signal 54 is at a high level.

このとき、第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 request receiving unit 91 in the bus arbiter 20 receives only the bus use request of the second bus master 12. The bus use permission determination unit 97 determines the use permission of the first bus 41 by the second bus master 12, and if the use is permitted as a result of the determination, the first bus use request permission generation unit 94 sets the second bus master first request. 1 bus use request permission signal 64 is set to high level and output. When this signal is at a high level, the second bus master 12 can use the first bus 41. When the first bus use request permission receiving unit 83 that has received the use permission signal informs the bus access control unit 87 that the first bus 41 is available, the second bus master 12 receives the first bus interface unit. Data transfer with the first bus slave 31 is enabled via the first bus 41 and the first bus 41.

ここで、区間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 first bus 41 has already been given to the second bus master 12, the bus use permission selection reference storage unit. 98, based on the selection criteria stored in 98, that is, the criteria for granting the right to use to the bus master that has requested the bus use the earliest for each bus, the bus use permission determining unit 97 sets the first bus master 11 to the first bus master 11. It is determined that the right to use the second bus 42 in addition to the right to use the first bus 41 is not given.

この後、第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 first bus slave 31 is completed, the first bus use request generation unit 80 sets the second bus master first bus use request signal 54 to a low level and issues a bus use request. Stop. The first bus use request receiving unit 91 notifies the received use request stop to the bus use permission determining unit 97. The bus use permission determining unit 97 determines the use permission for the bus simultaneous use request of the first bus master 11 already received by the bus simultaneous use request receiving unit 93, and if the use is permitted as a result of the determination, the first bus master 11 is determined. The first bus master bus simultaneous use request permission signal 63 is set to high level and output. Upon receiving this signal, the first bus master 11 enables data transfer using both the first bus 41 and the second bus 42.

区間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 unit 97 first grants the right to use the first bus 41 and the second bus 42 to the second bus master 12 that has previously requested simultaneous use of the bus.

このように、第2の実施形態のバス制御システム100によれば、最も早くバス使用要求を発生したバスマスタにバスの使用を許可する選択基準を、予めバスアービタ20内のバス使用許可選択基準記憶部98に記憶させておくことで、1つのバスまたは2つのバスに対して異なるバスマスタからの使用要求が発生した場合、確実に1つのバスマスタにだけバス使用権を与えることができる。また、2つのバスに対するバス使用要求とバス使用要求許可を取り入れることで、効率的なデータ転送が可能となる。例えば、区間dの斜線部では、第2バスマスタ12による第2バス42の使用が可能である。   As described above, according to the bus control system 100 of the second embodiment, the selection criterion for permitting bus use to the bus master that has generated the bus use request earliest is stored in advance as the bus use permission selection criterion storage unit in the bus arbiter 20. By storing them in 98, when a use request from a different bus master is generated for one bus or two buses, the right to use the bus can be surely given to only 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 second bus 42 can be used by the second bus master 12 in the shaded area of the section d.

(第3の実施形態)
図4は本発明の第3の実施形態におけるバス制御システム100の各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートである。
(Third embodiment)
FIG. 4 is a timing chart showing changes in signals at various parts of the bus control system 100 and changes in the use permission of the first bus and the second bus in the third embodiment of the present invention.

第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 bus arbiter 20 stores selection criteria for permitting the bus master to use the bus according to a predetermined priority order of the bus master. Specifically, according to the selection criteria of the present embodiment, the second bus master has a higher priority than the first bus master, and the second bus master 12 has priority. Except that this selection criterion is different, the configuration of the bus control system 100 of the third embodiment is the same as that of the first embodiment.

区間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 use request generator 72 of the first bus master 11 and the first bus use request generator 80 of the second bus master 12 are simultaneously generating bus use requests. When these bus use requests are received by the simultaneous bus use request receiving unit 93 and the first bus use request receiving unit 91 in the bus arbiter 20, they are transmitted to the bus use permission determining unit 97. Since the bus use permission selection criterion storage unit 98 stores selection criteria for giving priority to the second bus master 12, the bus use permission determination unit 97 determines whether the first bus 41 is a bus use request of the second bus master 12. Allow use. The subsequent operation is the same as that of the section d in FIG.

また、区間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 second bus 42, and the bus use permission determination unit 97 permits the use of the first bus 42. Furthermore, in section i, the second bus master 12 requests the simultaneous use of the first bus 41 and the second bus 42, and the bus use permission determination unit 97 uses the first bus 41 and the second bus 42 simultaneously. Allow.

このように、第3の実施形態のバス制御システム100によれば、予め決められたバスマスタの優先順位にしたがって、バスの使用要求を許可する選択基準を、バスアービタ20内のバス使用許可選択基準記憶部98に記憶させておくことで、バスマスタが扱うデータ転送に優先順位がある場合、1つのバスあるいは2つのバスに対して使用要求が異なるバスマスタから同時に発生した場合、1つのバスマスタだけに優先的にバス使用権を与えることが可能である。また、2つのバスに対するバス使用要求及びバス使用要求許可を取り入れることで、効率的なデータ転送が可能である。例えば、区間gの斜線部では、第2バスマスタ12による第2バス42の使用が可能である。   As described above, according to the bus control system 100 of the third embodiment, the selection criterion for permitting the bus use request is stored in the bus use permission selection criterion storage in the bus arbiter 20 according to the predetermined priority order of the bus master. If the data transfer handled by the bus master is prioritized by being stored in the unit 98, if the use requests for one bus or two buses are simultaneously generated from different bus masters, only one bus master is prioritized. It is possible to give the bus use right to In addition, efficient data transfer is possible by incorporating a bus use request and a bus use request permission for two buses. For example, the second bus 42 can be used by the second bus master 12 in the shaded area of the section g.

(第4の実施形態)
図5は本発明の第4の実施形態におけるバス制御システム100の各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートである。
(Fourth embodiment)
FIG. 5 is a timing chart showing a change in signals of each part of the bus control system 100 and a change in permission to use the first bus and the second bus in the fourth embodiment of the present invention.

第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 bus arbiter 20 stores selection criteria for giving a bus use permission to the bus master according to a predetermined bus priority. Specifically, according to the selection criteria of the present embodiment, as a priority order of the bus, the simultaneous use request for the first bus 41 and the second bus 42 has a higher priority than the use request for the first bus 41 or the second bus 42. Since the priority is higher, the request for simultaneous use of the first bus 41 and the second bus 42 is given priority, and since the second bus master 12 has a higher priority than the first bus master 11, the second bus master 12 is given priority. Except that this selection criterion is different, the configuration of the bus control system 100 of the fourth embodiment is the same as that of the first embodiment.

区間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 request generation unit 72 of the first bus master 11 and the first bus use request generation unit 80 of the second bus master 12. These bus use requests are received by the simultaneous bus use request receiving unit 93 and the first bus use request receiving unit 91 in the bus arbiter 20, and are transmitted to the bus use permission determining unit 97. As described above, the bus use permission selection criterion storage unit 98 stores selection criteria for giving priority to the bus master that has issued the simultaneous bus use request. The bus simultaneous use request for the first bus 41 and the second bus 42 which are bus use requests is permitted, and the first bus use request for the second bus master 12 is not permitted.

第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 permission determining unit 97 of this. The bus use permission determining unit 97 that has received the request permits the bus use in response to the bus use request of the second bus master 12 already received by the first bus use request receiving unit 91, and sends the second bus master 12 to the second bus master 12. 1 bus use request signal 64 is output. The second bus master 12 that has received the request can transfer data via the first bus 41.

区間kでは、第2バスマスタ12が第2バス42のバス使用要求を行う場合であり、区間jと同様の動作であるので、その詳細な説明を省略する。   In section k, the second bus master 12 makes a bus use request for the second bus 42, and the operation is the same as that in section j.

区間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 use request generator 72 of the first bus master 11 and the simultaneous bus use request generator 82 of the second bus master 12. These bus use requests are received by the bus simultaneous use request receiving unit 93 in the bus arbiter 20 and transmitted to the bus use permission determining unit 97. As described above, the bus use permission selection criterion storage unit 98 stores selection criteria giving priority to a bus master that requests simultaneous use of the bus. In this case, both the first bus master 11 and the second bus master 12 are stored. Since the bus simultaneous use request is generated, it is not possible to permit one bus master to use the bus according to this selection criterion. Therefore, the selection criterion that prioritizes the second bus master 12 described above is applied, and the bus use permission determination unit 97 permits the bus simultaneous use request of the second bus master 12. The subsequent operation is the same as that in the section i in FIG.

このように、第4の実施形態の制御システム100によれば、予め決められたバスの優先順位にしたがって、バスマスタにバス使用要求を許可する選択基準を、バスアービタ20内のバス使用許可選択基準部98に記憶させておくことで、2つのバスを介して行われるデータ転送が優先される場合、異なるバスマスタから1つまたは2つのバスに対する使用要求が同時に発生した場合、1つのバスマスタだけに優先的にバス使用権を与えることが可能となる。   As described above, according to the control system 100 of the fourth embodiment, the bus use permission selection reference unit in the bus arbiter 20 is used as a selection criterion for permitting bus use requests to the bus master according to a predetermined bus priority order. 98, when data transfer performed via two buses is prioritized, use requests for one or two buses are simultaneously generated from different bus masters, and only one bus master is prioritized. It is possible to grant the right to use the bus.

さらに、区間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 second bus 42 can be used by the second bus master 12 in the shaded area of the section j.

(第5の実施形態)
図6は本発明の第5の実施形態におけるバス制御システム100の各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートである。
(Fifth embodiment)
FIG. 6 is a timing chart showing changes in signals at various parts of the bus control system 100 and changes in the use permission of the first bus and the second bus in the fifth embodiment of the present invention.

第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 permission determination unit 97 can cancel the generated use request permission. Here, the bus use permission determining unit 97 corresponds to the use permission canceling means described in claim 6. Also, the bus use request permission receiving units 73, 83, 74, 84, 75, and 85 can receive that the use request permission has been canceled. Here, the bus use request permission receiving units 73, 83, 74, 84, 75, and 85 correspond to the cancel receiving means described in claim 6. Furthermore, the bus access control units 77 and 87 can stop the use of the bus whose use request permission has been canceled. Here, the bus access control units 77 and 87 correspond to an example of use stop means described in claims.

また、バスアービタ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 bus arbiter 20, the bus simultaneous use request of the first bus 41 and the second bus 42 is given to the first bus 41 or the second bus 42 as the bus priority. Since the priority is higher than the bus use request, the simultaneous use request of the first bus 41 and the second bus 42 is given priority, and the second bus master 12 has a higher priority than the first bus master 11. The selection criteria that prioritize is stored. Other configurations of the bus control system 100 are the same as those in the first embodiment.

区間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 first bus 41, and the second bus master first bus use request permission signal 64 is given to the second bus master 12. Thereafter, the first bus master 11 outputs the first bus master bus simultaneous use request signal 53. This bus simultaneous use request is transmitted from the bus simultaneous use request receiving unit 93 to the bus use permission determining unit 97. As described above, the bus use permission selection criterion storage unit 98 stores selection criteria for preferentially giving the bus use right to the bus master that has requested the simultaneous use of the bus. The first bus use request permission generation unit 94 cancels the right to use the first bus 41 currently given to the two bus masters 12, and the first bus use request permission generation unit 94 sets the second bus master first bus use request permission signal 64 to a low level. The data is output to the permission receiving unit 83. When this is transmitted from the first bus use request permission receiving unit 83 to the bus access control unit 87, the use of the first bus 41 is stopped.

一方、バス使用許可判定部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 permission determination unit 97 receives the first bus master bus simultaneous use request permission signal 63 and receives the first bus master bus simultaneous use request permission signal 63 in order to give the first bus master 11 the right to use the first bus 41 and the second bus master 42 simultaneously. To the unit 75. Thereafter, when the data transfer request generation unit 79 stops the data transfer request, the bus simultaneous use request generation unit 72 sets the first bus master bus simultaneous use request signal 53 to a low level to stop the use request. The bus simultaneous use request receiving unit 93 that has received the use request stop notifies the bus use permission determining unit 97 of this. The bus use permission determining unit 97 that has received the request determines the first bus use permission of the second bus master 12 received by the first bus use request receiving unit 91, and as a result of the determination, the second bus master 12 again sends the second bus master 12 with the first bus use permission. The use permission of 1 bus 41 is given.

区間nでは、第1バスマスタバス同時使用要求許可信号63が出力され、第1バスマスタ11にバス同時使用要求許可が与えられている場合、第2バスマスタ12が第1バス41の使用要求を発生している。この場合、バス使用許可選択基準記憶部98に記憶されている選択基準にしたがって、第1バスマスタ11のバス同時要求許可は中止されていない。   In section n, when the first bus master bus simultaneous use request permission signal 63 is output and the first bus master 11 is granted the simultaneous bus use request permission, the second bus master 12 generates a use request for the first bus 41. ing. In this case, the simultaneous bus request permission of the first bus master 11 is not canceled according to the selection criteria stored in the bus use permission selection criteria storage unit 98.

区間oでは、第1バスマスタバス同時使用要求許可信号63が出力され、第1バスマスタ11にバス同時使用要求許可が与えられている場合、第2バスマスタ12がバス同時使用要求を発生している。この場合、区間nと同様、バス使用許可選択基準記憶部98に記憶されている選択基準にしたがって、第1バスマスタ11のバス同時要求許可は中止されていない。   In section o, when the first bus master bus simultaneous use request permission signal 63 is output and the first bus master 11 is granted the simultaneous bus use request permission, the second bus master 12 generates a simultaneous bus use request. In this case, as in the section n, the simultaneous bus request permission of the first bus master 11 is not suspended according to the selection criteria stored in the bus usage permission selection criteria storage unit 98.

このように、第5の実施形態のバス制御システム100によれば、バス使用許可選択基準記憶部98に記憶されている選択基準にしたがって、優先度の低いデータ転送を中止し、優先度の高いデータ転送を行うことで、効率的なデータ転送が可能となる。   As described above, according to the bus control system 100 of the fifth embodiment, in accordance with the selection criterion stored in the bus use permission selection criterion storage unit 98, the data transfer with a low priority is stopped and the priority is high. By performing data transfer, efficient data transfer becomes possible.

なお、本発明は、上記各実施形態に限定されないことは勿論であり、適宜変更が可能である。例えば、上記実施形態では、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.

本発明の第1の実施形態を説明するためのバス制御システムの構成を示す図The figure which shows the structure of the bus control system for demonstrating the 1st Embodiment of this invention. 本発明の第1の実施形態におけるバス制御システムの各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートThe timing chart which shows the change of the signal of each part of the bus control system in the 1st Embodiment of this invention, and the change of permission of use of the 1st bus and the 2nd bus 本発明の第2の実施形態におけるバス制御システムの各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートTiming chart showing changes in signals of each part of the bus control system and changes in use permission of the first bus and the second bus in the second embodiment of the present invention 本発明の第3の実施形態におけるバス制御システムの各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートTiming chart showing changes in signals of each part of the bus control system and changes in use permission of the first bus and the second bus in the third embodiment of the present invention 本発明の第4の実施形態におけるバス制御システムの各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートThe timing chart which shows the change of the signal of each part of the bus control system in the 4th Embodiment of this invention, and the change of the use permission of the 1st bus and the 2nd bus 本発明の第5の実施形態におけるバス制御システムの各部の信号の変化及び第1バス、第2バスの使用許可の変化を示すタイミングチャートTiming chart showing changes in signals of each part of the bus control system and changes in use permission of the first bus and the second bus in the fifth embodiment of the present invention

符号の説明Explanation of symbols

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 2nd bus master 20 Bus arbiter 41 1st bus 42 2nd bus 31-36 Bus slave 72, 82 Bus simultaneous use request generation part 75, 85 Bus simultaneous use request permission reception part 93 Bus simultaneous use request reception part 96 Bus simultaneous use request permission generation unit 97 Bus use permission determination unit 98 Bus use permission selection reference storage unit 100 Bus control system

Claims (8)

複数のバスにそれぞれ接続された複数のバスマスタと、前記複数のバスのいずれか1つに接続された複数のバススレーブと、前記複数のバスマスタから発生した前記バスを使用する要求の競合を調停するバスアービタとを備え、前記複数のバスを介して行われる前記バススレーブ間のデータ転送を制御するバス制御システムであって、
前記バスマスタは、
前記複数のバスを同時に使用する要求を発生するバス同時使用要求発生手段と、
前記複数のバスの使用許可を受信するバス同時使用許可受信手段とを備え、
前記バスアービタは、
前記複数のバスマスタから発生した前記複数のバスを同時に使用する要求を受信するバス同時使用要求受信手段と、
前記複数のバスマスタから発生した前記複数のバスを同時に使用する要求が競合する場合、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つの使用許可が与えられるバスマスタに対し、前記複数のバスの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.
請求項1または2記載のバス制御システムであって、
前記選択基準記憶手段は、最も早く前記使用要求を発生したバスマスタに、前記使用許可を与える選択基準を記憶するバス制御システム。
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.
請求項1または2記載のバス制御システムであって、
前記選択基準記憶手段は、予め与えられたバスマスタの優先順位にしたがって、前記使用許可を与える選択基準を記憶するバス制御システム。
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.
請求項1または2記載のバス制御システムであって、
前記選択基準記憶手段は、予め与えられたバスの優先順位にしたがって、前記使用許可を与える選択基準を記憶するバス制御システム。
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.
請求項1または2記載のバス制御システムであって、
前記バスアービタは、前記発生した使用許可を取り消す使用許可取消手段を備え、
前記バスマスタは、前記使用許可が取り消されたことを受信する取消受信手段と、前記取り消されたバスの使用を停止する使用停止手段とを備えるバス制御システム。
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.
JP2003270428A 2003-07-02 2003-07-02 Bus control system, bus master, and bus arbitor Withdrawn JP2005025670A (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008515090A (en) * 2004-09-30 2008-05-08 フリースケール セミコンダクター インコーポレイテッド Data processing system with bus access cancellation

Cited By (2)

* Cited by examiner, † Cited by third party
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
US20050102456A1 (en) Command transmission method and command transmission apparatus in pipeline bus system
US7533206B2 (en) Resource management device
JP2005258867A (en) Resource managing apparatus
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
US7127540B2 (en) Apparatus and method for controlling frequency of bus use
EP1187029B1 (en) Peripheral component interconnect arbiter implementation with dynamic priority scheme
JP2008059285A (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
JP2000250853A (en) Bus arbitration controller
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
JP4863282B2 (en) DMA transfer device and data transfer device
JP4832327B2 (en) Bus arbitration circuit

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