JPH10289203A - Bus arbitrating device - Google Patents

Bus arbitrating device

Info

Publication number
JPH10289203A
JPH10289203A JP9549697A JP9549697A JPH10289203A JP H10289203 A JPH10289203 A JP H10289203A JP 9549697 A JP9549697 A JP 9549697A JP 9549697 A JP9549697 A JP 9549697A JP H10289203 A JPH10289203 A JP H10289203A
Authority
JP
Japan
Prior art keywords
transfer
bus
value
counter
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9549697A
Other languages
Japanese (ja)
Inventor
Shinji Sasaki
真司 佐々木
Junji Nishikawa
順二 西川
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 JP9549697A priority Critical patent/JPH10289203A/en
Publication of JPH10289203A publication Critical patent/JPH10289203A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To secure service quality in consideration of respective device characteristics by allowing a device which has a transfer quantity counter value smaller than a reference counter value to use a bus when there are devices which have transfer counter values larger and smaller than the reference counter value based upon a clock respectively. SOLUTION: Comparing means 13-1 to 13-n provided for devices 3-1 to 3-n compare transfer data counters 12-1 to 12-n with reference counters 11-1 to 11-n and output whether actual transfer is delayed or precedent to an allocation determining means 10. Then the allocation determining means 10 allows a device which has a transfer quantity counter value smaller than the value of a reference counter to use the bus when there are devices having values of the transfer data counters 12-1 to 12-n smaller and larger than the values of the reference counters 11-1 to 11-n.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、パーソナルコンピ
ュータに用いられるバスシステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus system used for a personal computer.

【0002】[0002]

【従来の技術】近年の情報処理装置では、接続デバイス
間データ転送の手法として一般にバス方式が用いられ、
特にパーソナルコンピュータではPCIバスが標準とな
っている。
2. Description of the Related Art In recent information processing apparatuses, a bus method is generally used as a method of transferring data between connected devices.
In particular, a PCI bus is a standard for personal computers.

【0003】一般にバス接続によるデータ転送では、複
数のデバイスからの転送要求があった場合、バス上での
データの衝突を防ぐため、バス調停装置によって転送の
順序を制御している。バス調停装置は図3に示すよう
に、バスを監視し、デバイスから転送要求信号101
(REQ1〜REQn)が入力されると、決められた調
停方式によって転送許可信号102(GNT1〜GNT
n)をデバイスへ出力するものである。図3はデバイス
の数がnの時を示している。
In general, in data transfer by bus connection, when there are transfer requests from a plurality of devices, the order of transfer is controlled by a bus arbiter in order to prevent data collision on the bus. The bus arbitrator monitors the bus as shown in FIG.
When (REQ1 to REQn) are input, the transfer permission signal 102 (GNT1 to GNT) is determined according to the determined arbitration method.
n) is output to the device. FIG. 3 shows a case where the number of devices is n.

【0004】バス調停装置では、複数のデバイスから同
時に転送要求を受けた場合に、一定時間中にバスを使用
するデバイスを1つだけにする必要があり、なんらかの
調停方式を決めておく必要がある。PCIバスにおける
標準的な制御装置として米国インテル社の82437F
X−PCIset(以下、i82437FX)がある
が、i82437FXのバス調停装置では、固定優先度
方式とラウンドロビン方式が採用されている。
In a bus arbitration device, when a transfer request is received from a plurality of devices at the same time, it is necessary to use only one device using the bus during a given time, and it is necessary to determine some arbitration method. . Intel's 82437F as a standard control device for the PCI bus
Although there is an X-PCIset (hereinafter, i82437FX), the bus arbitration device of the i82437FX employs a fixed priority scheme and a round robin scheme.

【0005】固定優先度方式は、各デバイスに対して優
先度を決め、複数の要求があった場合には、最も優先度
の高いものに対して転送を許可する方式である。
[0005] The fixed priority method is a method in which a priority is determined for each device, and when there are a plurality of requests, transfer is permitted to the device with the highest priority.

【0006】ラウンドロビン方式は、デバイスを巡回さ
せて順序を決定する方式で、各デバイスに対して平等に
転送許可を与えることになる。
[0006] The round robin method is a method in which devices are circulated to determine an order, and transfer permission is equally given to each device.

【0007】また、PCIバスでは、転送許可を与えら
れたデバイスがバスを占有する時間、すなわちデータ転
送長や転送時間は各デバイス側が決定し、制限が無い。
そのため、あらかじめ決められた時間内に決められたデ
ータ量の転送を行うことを保証するような時間保証の無
いバスと言える。
In the PCI bus, the time for which a device to which transfer permission is given occupies the bus, that is, the data transfer length and transfer time, are determined by each device, and there is no limit.
Therefore, it can be said that the bus has no time guarantee that guarantees that a predetermined amount of data is transferred within a predetermined time.

【0008】[0008]

【発明が解決しようとする課題】しかしながら上記の従
来技術において、PCIバスのようなバスでは、固定優
先度方式やラウンドロビン方式で転送を許可することに
より、各デバイスへの許可回数はある一定の割合で平均
化され、順序がまわってこないということは無いが、バ
スを占有する時間はデバイスによって決定されるため、
あるデバイスがバスを占有する時間が長くなると、他の
デバイスは転送する時間が短くなり、必要な転送レート
が確保できないという課題がある。
However, in the prior art described above, in a bus such as a PCI bus, transfer is permitted by a fixed priority method or a round robin method, so that the number of permitted times for each device is fixed. Although they are averaged in proportion and are not out of order, the time to occupy the bus is determined by the device,
If the time for which a certain device occupies the bus becomes longer, the transfer time for another device becomes shorter, and there is a problem that a necessary transfer rate cannot be secured.

【0009】このため、連続した映像ストリームデータ
の転送を行なうようなデバイスが、1秒間に必要とされ
るフレーム分(NTSC方式の画像データでは30フレ
ーム)のデータを転送することができないために、映像
が途切れてしまい、QOS(Quality Of Service、サー
ビス品質)が保証されないことになる。
For this reason, a device that transfers continuous video stream data cannot transfer data of a frame required for one second (30 frames in the case of NTSC image data). The video is interrupted, and QOS (Quality Of Service, service quality) is not guaranteed.

【0010】このように、従来の方法では、近年増加し
ている映像データのような時間的制約のある連続データ
を時間保証しながら扱うことは困難であり、特に転送レ
ートの異なるデバイスが混在している場合には顕著であ
る。
As described above, in the conventional method, it is difficult to handle time-limited continuous data such as video data, which has been increasing in recent years, while guaranteeing time. In particular, devices having different transfer rates are mixed. If you are remarkable.

【0011】また、従来のバスでこのようなデータを扱
う場合にはソフトウェアによるおおまかな時間保証しか
できない。
When such data is handled on a conventional bus, only a rough time guarantee can be made by software.

【0012】本発明は上記問題点に鑑み、QOSが保証
されないPCIバスのようなバスにおいて、バス仕様や
デバイス側の仕様の変更をすること無く、各デバイス特
性を考慮してQOSを保証するバス調停装置を提供する
ことを目的とする。
SUMMARY OF THE INVENTION In view of the above problems, the present invention provides a bus such as a PCI bus for which QOS is not guaranteed, which guarantees QOS in consideration of device characteristics without changing bus specifications or device-side specifications. It is an object to provide an arbitration device.

【0013】[0013]

【課題を解決するための手段】この課題を解決するた
め、本発明のバス調停装置は、複数のデバイスが接続さ
れ、前記各デバイス毎に、実際に転送したデータ量を計
測する転送データカウンタと、前記デバイスの転送レー
トから決定されるクロックで動作する基準カウンタと、
前記転送データカウンタの値と前記基準カウンタの値と
を入力とし、2つの値を比較する比較手段を持ち、複数
の前記比較手段からの入力に基づき、前記デバイスにバ
ス使用許可を与える割当決定手段とを備え、前記割当決
定手段は、前記比較手段からの入力において、前記転送
データカウンタの値が前記基準カウンタの値よりも小さ
いデバイスと、前記転送データカウンタの値が前記基準
カウンタの値よりも大きいデバイスとがあった時には、
前記転送量カウンタの値が前記基準カウンタの値よりも
小さいデバイスに対してバス使用許可を与えることを特
徴としている。
In order to solve this problem, a bus arbitration apparatus according to the present invention comprises a transfer data counter which is connected to a plurality of devices and measures the amount of data actually transferred for each device. A reference counter that operates on a clock determined from the transfer rate of the device;
Allocation determining means for inputting the value of the transfer data counter and the value of the reference counter and comparing the two values, and for granting a bus permission to the device based on inputs from a plurality of the comparing means The allocation determining means, wherein, at the input from the comparing means, a device in which the value of the transfer data counter is smaller than the value of the reference counter, and the value of the transfer data counter is smaller than the value of the reference counter. When there is a big device,
A bus use permission is given to a device in which the value of the transfer amount counter is smaller than the value of the reference counter.

【0014】[0014]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を用いて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0015】(実施の形態1)図1は、本発明の実施の
形態1におけるバス調停装置の構成図でn個のデバイス
が接続されている場合を示しており、バス調停装置1、
バス2、デバイス3−1〜3−n、デバイスからの転送
要求信号(REQ1〜REQn)4−1〜4−n、デバ
イスへの転送許可信号(GNT1〜GNTn)5−1〜
5−n、割当決定手段10、デバイス3−1に対する基
準カウンタ(SC1)11−1、転送データカウンタ
(DC1)12−1、比較手段13−1、デバイス3−
2に対する基準カウンタ(SC2)11−2、転送デー
タカウンタ(DC2)12−2、比較手段13−2、デ
バイス3−nに対する基準カウンタ(SCn)11−
n、転送データカウンタ(DCn)12−n、比較手段
13−nにより構成されている。
(Embodiment 1) FIG. 1 shows the configuration of a bus arbitration apparatus according to Embodiment 1 of the present invention, in which n devices are connected.
Bus 2, devices 3-1 to 3-n, transfer request signals (REQ1 to REQn) 4-1 to 4-n from devices, transfer permission signals (GNT1 to GNTn) 5-1 to devices
5-n, allocation determining means 10, reference counter (SC1) 11-1 for device 3-1, transfer data counter (DC1) 12-1, comparing means 13-1, device 3-
2, a reference counter (SC2) 11-2, a transfer data counter (DC2) 12-2, a comparing unit 13-2, and a reference counter (SCn) 11- for the device 3-n.
n, a transfer data counter (DCn) 12-n, and comparison means 13-n.

【0016】バス2はパーソナルコンピュータで標準と
なっているPCIバスで、複数のデバイス接続が可能な
32ビット幅のバスである。このバスはバス単体での時
間保証は行なわない仕様である。
The bus 2 is a PCI bus standardized for personal computers, and is a 32-bit bus to which a plurality of devices can be connected. This bus is a specification that does not guarantee the time of the bus alone.

【0017】バス調停装置1の割当決定手段10は、デ
バイスの転送要求信号4−1〜4−nから、要求のあっ
たデバイスに対して、どのデバイスにバス使用割当を行
なうかを決定するもので、優先順位によって決定したデ
バイスに対して、転送許可信号5−1〜5−nのいづれ
か1つを返し、バス使用許可を与える。
The assignment deciding means 10 of the bus arbitrating device 1 decides to which device a bus use assignment is to be made for the requested device from the device transfer request signals 4-1 to 4-n. Then, any one of the transfer permission signals 5-1 to 5-n is returned to the device determined according to the priority order, and the bus use permission is given.

【0018】各デバイスに対して用意されている基準カ
ウンタ11−1〜11−nは、デバイスの転送レートに
より決定されたクロックでカウントを行なうものであ
る。クロックの値は、デバイスが必要とされている転送
レートの値をバス幅で割り、逆数にすることで求めるこ
とができる。
The reference counters 11-1 to 11-n prepared for each device are to count with a clock determined by the transfer rate of the device. The value of the clock can be obtained by dividing the value of the transfer rate required by the device by the bus width and reciprocal.

【0019】デバイスが登録された時に、基準カウンタ
11−1〜11−nに対してこのクロックの値を登録す
ることで、基準カウンタはこの値でカウントを始め、こ
れを継続する。
When the device is registered, the value of this clock is registered in the reference counters 11-1 to 11-n, so that the reference counter starts counting with this value and continues counting.

【0020】各デバイスに対して用意されている転送デ
ータカウンタ12−1〜12−nは、それぞれのデバイ
スが転送許可信号を受け、バスを占有しデータ転送して
いる間に転送したデータに基づいてカウントを行ない、
実際に転送したデータ量を計測する。
Transfer data counters 12-1 to 12-n prepared for each device are based on data transferred while each device receives a transfer permission signal, occupies the bus, and transfers data. Count
Measure the amount of data actually transferred.

【0021】各デバイスに対して用意されている比較手
段13−1〜13−nは、デバイスからの転送要求信号
を受けバス調停をする際に、基準カウンタ11−1〜1
1−nと転送データカウンタ12−1〜12−nとを比
較し、実際の転送が遅れているか、進んでいるかを割当
決定手段10に出力する。
Comparing means 13-1 to 13-n prepared for each device receive reference signals 11-1 to 11-1 when performing bus arbitration upon receiving a transfer request signal from the device.
1-n is compared with the transfer data counters 12-1 to 12-n, and whether the actual transfer is delayed or advanced is output to the allocation determining means 10.

【0022】次に動作について説明する。図2は、本発
明の実施の形態1におけるバス調停装置1の動作説明図
で、必要とされる転送レートが32Mビット/秒のデバ
イス3−1と、必要とされる転送レートが16Mビット
/秒であるデバイス3−2とから、転送要求信号4−
1、4−2を受け、バス調停を行なう際の動作を、時間
経過とともに示す図である。
Next, the operation will be described. FIG. 2 is an explanatory diagram of the operation of the bus arbitration device 1 according to the first embodiment of the present invention. The device 3-1 has a required transfer rate of 32 Mbit / s, and the required transfer rate is 16 Mbit / s. The transfer request signal 4-
FIG. 4 is a diagram illustrating an operation when bus arbitration is performed in response to time lapse after receiving 1, 4-2.

【0023】なお、ここではデバイス3−1が時間t0
以前から転送要求信号4−1を出しているものとし、デ
バイス3−2は時間t0以降t1以前から転送要求信号
4−2を出しているものとする。
In this case, the device 3-1 is operated at time t0.
It is assumed that the transfer request signal 4-1 has been issued before, and the device 3-2 has issued the transfer request signal 4-2 after time t0 and before t1.

【0024】図2の上段はデバイス3−1に対する基準
カウンタ(SC1)11−1と、転送データカウンタ
(DC1)12−1のカウンタの様子を示している。図
2の下段はデバイス3−2に対する基準カウンタ(SC
2)11−2と、転送データカウンタ(DC2)12−
2のカウンタの様子を示している。
The upper part of FIG. 2 shows how the reference counter (SC1) 11-1 for the device 3-1 and the counter of the transfer data counter (DC1) 12-1 are. 2 is a reference counter (SC) for the device 3-2.
2) 11-2 and transfer data counter (DC2) 12-
2 shows the state of the counter.

【0025】デバイス3−1の転送レートは、32Mビ
ット/秒であるので、この値をPCIバスのバス幅であ
る32ビットで割り、その逆数をとることで基準カウン
タ(SC1)11−1のクロックが求められ、1マイク
ロ秒となる。従って図2上段のT1は1マイクロ秒とな
り、基準カウンタ(SC1)11−1はこの間隔でカウ
ントを続ける。
Since the transfer rate of the device 3-1 is 32 Mbits / sec, this value is divided by 32 bits, which is the bus width of the PCI bus, and the reciprocal thereof is calculated to obtain the reference counter (SC1) 11-1. A clock is required, which is 1 microsecond. Accordingly, T1 in the upper part of FIG. 2 is 1 microsecond, and the reference counter (SC1) 11-1 continues counting at this interval.

【0026】同様にデバイス3−2の転送レートは16
Mビット/秒であるので、図2上段のT2は2マイクロ
秒となり、基準カウンタ(SC2)11−2はこの間隔
でカウントを続ける。
Similarly, the transfer rate of the device 3-2 is 16
Since it is M bits / sec, T2 in the upper part of FIG. 2 is 2 microseconds, and the reference counter (SC2) 11-2 continues counting at this interval.

【0027】以下、時間経過に基づいて動作を説明す
る。始めに時間t0におけるバス調停では、デバイス3
−2は転送要求信号4−2を出しておらず、デバイス3
−1からの転送要求信号4−1のみなので、割当決定手
段10は、デバイス3−1に割当を行ない転送許可信号
5−1を出す。これによりデバイス3−1は転送を開始
するが、この時、転送データカウンタ(DC1)12−
1は、実際にデータ転送を行なった時間を計測し、カウ
ントを開始し、1、2、3とカウントを行なっていき、
時間t1ではDC1=8となっている。
The operation will be described below based on the passage of time. First, in the bus arbitration at the time t0, the device 3
-2 has not issued the transfer request signal 4-2, and the device 3
Since only the transfer request signal 4-1 from -1 is assigned, the assignment determining means 10 performs assignment to the device 3-1 and outputs a transfer permission signal 5-1. This causes the device 3-1 to start the transfer. At this time, the transfer data counter (DC1) 12-
1 measures the actual data transfer time, starts counting, and counts 1, 2, and 3;
At time t1, DC1 = 8.

【0028】ここで、図2のDC1において、3の間隔
が長く、4の間隔が短いのは、3の転送を行なってから
4の転送が行なわれるまでの時間が長く、4の転送を行
なってから5の転送が行なわれるまでの時間が短いこと
を示している。これは、実際にデータ転送をするタイミ
ングや1回のデータ長はデバイス側が決定しているため
である。これはPCIバスの仕様である。
Here, in DC1 of FIG. 2, the interval of 3 is long and the interval of 4 is short because the time from the transfer of 3 to the transfer of 4 is long, and the transfer of 4 is performed. This indicates that the time from when the transfer of 5 is performed is short. This is because the device side determines the actual data transfer timing and one data length. This is a specification of the PCI bus.

【0029】次に、時間t1におけるバス調停では、デ
バイス3−1とデバイス3−2の両方が転送要求信号4
−1、4−2を出しているため、割当決定手段10は、
どちらにバス使用許可を与えるかを決定する必要があ
る。
Next, in the bus arbitration at the time t1, both the device 3-1 and the device 3-2 transmit the transfer request signal 4
-1, 4-2, the assignment determining means 10
It is necessary to decide which one is to be granted bus use.

【0030】まず、デバイス3−1については、基準カ
ウンタ(SC1)11−1の値は5、転送データカウン
タ(DC1)12−1の値は8であるため、これらが比
較手段12−1に入力され、DC1>SC1となってい
ることから、実際のデータ転送が基準値よりも進んでい
ることを、割当決定手段10に伝える。これと同様に、
デバイス3−2については、比較手段13−2が、DC
2<SC2であり実際の転送が基準値よりも遅れている
ことを割当決定手段10に伝える。
First, as for the device 3-1, since the value of the reference counter (SC1) 11-1 is 5 and the value of the transfer data counter (DC1) 12-1 is 8, these values are sent to the comparing means 12-1. Since the input is DC1> SC1, the fact that the actual data transfer is ahead of the reference value is notified to the allocation determining means 10. Similarly,
For the device 3-2, the comparing unit 13-2 outputs the DC
It informs the assignment determining means 10 that 2 <SC2 and the actual transfer is later than the reference value.

【0031】割当決定手段10は、比較手段13−1と
比較手段13−2の情報から、遅れているデバイス3−
2に対して優先度を与え、デバイス3−2に対して転送
許可信号5−2を出す。
The assignment deciding means 10 determines from the information of the comparing means 13-1 and 13-2,
2 is given a priority, and a transfer permission signal 5-2 is issued to the device 3-2.

【0032】これによりデバイス3−2はバスを使用し
てデータ転送を行ない、デバイス3−2の転送データカ
ウンタ(DC2)12−2は、実際にデータ転送を行な
った時間を計測し、1、2、3とカウントを行う。
As a result, the device 3-2 performs data transfer using the bus, and the transfer data counter (DC2) 12-2 of the device 3-2 measures the actual data transfer time. Count 2 and 3.

【0033】次に、時間t2におけるバス調停では、時
間t1と同様、デバイス3−1とデバイス3−2のどち
らかに対して転送許可を与える必要があるが、先に述べ
たように、それぞれの比較手段13−1、13−2は転
送データカウンタと基準カウンタの値を比較し、割当決
定手段10へ出力する。時間t2では、デバイス3−1
がDC1<SC1で基準より遅れており、デバイス3−
2はDC2>SC2で基準より進んでいることを割当決
定手段10へ出力する。そこで、割当決定手段10は、
基準より遅れているデバイスを優先するため、デバイス
3−1に対して転送許可信号5−1を出し、デバイス3
−1がバスを使用しデータ転送を行なう。
Next, in the bus arbitration at the time t2, similarly to the time t1, it is necessary to give a transfer permission to either the device 3-1 or the device 3-2. Comparing means 13-1 and 13-2 compare the value of the transfer data counter with the value of the reference counter and output the result to the allocation determining means 10. At time t2, the device 3-1
Is behind the reference because of DC1 <SC1, and the device 3-
No. 2 outputs to the assignment determining means 10 that DC2> SC2 and leads the reference. Therefore, the allocation determining means 10
In order to give priority to a device that is behind the reference, a transfer permission signal 5-1 is issued to the device 3-1 and the device 3
-1 performs data transfer using the bus.

【0034】この後も同様で、割当決定手段10は、転
送データカウンタの値と基準カウンタの値とを比較する
比較手段13−1、13−2からの入力により、より基
準から遅れているデバイスに対して転送許可信号を与
え、バス使用を許可していく。
The same applies hereafter, and the assignment determining means 10 detects the device which is further behind the reference by the input from the comparing means 13-1 and 13-2 for comparing the value of the transfer data counter with the value of the reference counter. , A transfer permission signal is given to permit the use of the bus.

【0035】これを繰り返すことにより、各デバイスに
要求される転送レートを満たすように、バス調停を進め
ていくことができる。
By repeating this, bus arbitration can be advanced so as to satisfy the transfer rate required for each device.

【0036】以上のように、PCIバスのような時間保
証の無いバスにおいても、バス仕様やデバイス仕様の変
更をすること無く、バス調停装置のみでデバイスの特性
を考慮した時間保証が可能となる。これにより、近年増
加しているマルチメディアデータのような連続データ、
特に映像データを、パーソナルコンピュータ上で複数処
理する際にも、QOSを保証することが可能になる。
As described above, even in a bus such as a PCI bus, which does not have a guaranteed time, a time can be assured in consideration of device characteristics only by a bus arbiter without changing the bus specifications and device specifications. . As a result, continuous data such as multimedia data, which has been increasing in recent years,
Especially when a plurality of video data are processed on a personal computer, the QOS can be guaranteed.

【0037】特に、転送レートが大きく異なる映像デー
タを入出力するデバイスが混在している場合でもそれぞ
れのデバイスに対してQOSを保証することができ、効
果は著しい。
In particular, even when devices that input and output video data having greatly different transfer rates are mixed, QOS can be guaranteed for each device, and the effect is remarkable.

【0038】また、時間保証をバス調停装置のみで実現
しているので、従来の制御ソフトウェアで実施していた
ような時間保証のためのバス管理処理が不要となるた
め、マルチメディアデータを扱うソフトウェア開発も大
幅に軽減できる。
Further, since the time guarantee is realized only by the bus arbitration device, the bus management processing for time guarantee, which is performed by the conventional control software, becomes unnecessary. Development can be greatly reduced.

【0039】なお、本発明の実施の形態1では、基準カ
ウンタ11−1〜11−nでは、デバイス3−1〜3−
nの転送レートにより決定されたクロックの値を求め、
この値をそのまま使用したが、この値は基準値の最大値
であり、実際にはこの値よりも若干小さな値を基準カウ
ンタのクロックとすることで、転送を早めに行い時間的
な余裕をもたせることで、効果を高めることができる。
In the first embodiment of the present invention, the reference counters 11-1 to 11-n use the devices 3-1 to 3-
Find the value of the clock determined by the transfer rate of n
Although this value was used as it is, this value is the maximum value of the reference value. In practice, a value slightly smaller than this value is used as the clock of the reference counter, so that the transfer can be performed earlier and time can be given. By doing so, the effect can be enhanced.

【0040】なお、本発明の実施の形態1では、同時に
転送を要求するデバイス数が2であったが、デバイス数
が3以上になっても、割当決定手段10が基準値に対し
てもっとも遅れているデバイスに優先度を与えることで
同様に調停することが可能で、上に述べた効果は変わら
ない。
In the first embodiment of the present invention, the number of devices simultaneously requesting transfer is two. However, even if the number of devices becomes three or more, the allocation determining means 10 causes the most delay with respect to the reference value. The arbitration can be similarly performed by giving a priority to the device in question, and the effect described above does not change.

【0041】なお、本発明の実施の形態1では、接続さ
れている全デバイスがQOSを保証する必要があるもの
として説明したが、デバイスの中には連続性がなく、Q
OS保証の必要が無いものと混在することもある。この
場合でも、基準カウンタのクロック値を、他のQOSが
必要なデバイスよりも充分大きくすることで、解決する
ことが可能である。従って、様々なデバイスが混在した
場合でも、上に述べた効果は変わらない。
In the first embodiment of the present invention, it has been described that all connected devices need to guarantee QOS. However, there is no continuity among devices,
There is also a case where the OS does not need to be guaranteed. Even in this case, it is possible to solve the problem by making the clock value of the reference counter sufficiently larger than that of a device requiring another QOS. Therefore, even when various devices are mixed, the above-described effect does not change.

【0042】[0042]

【発明の効果】以上のように、本発明によれば、PCI
バスのような時間保証の無いバスにおいても、バス仕様
やデバイス仕様の変更をすること無く、バス調停装置の
みでデバイスの特性を考慮した時間保証が可能となる。
これにより、近年増加しているマルチメディアデータの
ような連続データ、特に映像データを、パーソナルコン
ピュータ上で複数処理する際にも、QOSを保証するこ
とが可能になる。
As described above, according to the present invention, the PCI
Even on a bus such as a bus that does not have a guaranteed time, it is possible to guarantee the time in consideration of the characteristics of the device only by the bus arbitration device without changing the bus specifications and device specifications.
As a result, it is possible to guarantee QOS even when a plurality of continuous data such as multimedia data, which have been increasing in recent years, particularly video data, are processed on a personal computer.

【0043】特に、転送レートが大きく異なる映像デー
タを入出力するデバイスが混在している場合でもそれぞ
れのデバイスに対してQOSを保証することができ、効
果は著しい。
In particular, even when devices that input and output video data having greatly different transfer rates coexist, QOS can be guaranteed for each device, and the effect is remarkable.

【0044】また、時間保証をバス調停装置のみで実現
しているので、従来の制御ソフトウェアで実施していた
ような時間保証のためのバス管理処理が不要となるた
め、マルチメディアデータを扱うソフトウェア開発も大
幅に軽減できる。
Further, since the time guarantee is realized only by the bus arbitration device, the bus management processing for the time guarantee, which is performed by the conventional control software, becomes unnecessary. Development can be greatly reduced.

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

【図1】本発明の実施の形態1におけるバス調停装置の
構成図
FIG. 1 is a configuration diagram of a bus arbitration device according to a first embodiment of the present invention.

【図2】本発明の実施の形態1におけるバス調停装置の
動作説明図
FIG. 2 is an explanatory diagram of an operation of the bus arbitration device according to the first embodiment of the present invention.

【図3】一般的なバス調停装置の機能説明図FIG. 3 is a functional explanatory diagram of a general bus arbitration device.

【符号の説明】 1 バス調停装置 2 バス 3−1〜3−n デバイス1〜n 4−1〜4−n デバイス1〜nからの転送要求信号
(REQ) 5−1〜5−n デバイス1〜nに対する転送許可信号
(GNT) 10 割当決定手段 11−1〜11−n デバイス1〜nに対する基準カウ
ンタ(SC) 12−1〜12−n デバイス1〜nに対する転送デー
タカウンタ(DC) 13−1〜13−n デバイス1〜nに対する比較手段 100 バス調停装置 101 転送要求信号(REQ) 102 転送許可信号(GNT)
[Description of Signs] 1 bus arbitration device 2 bus 3-1-3-n device 1-n 4-1-4-n transfer request signal (REQ) from device 1-n 5-1-5-n device 1 Transfer permission signal (GNT) for the device 1 to n 10 Assignment determining means 11-1 to 11-n Reference counter (SC) for the device 1 to n 12-1 to 12-n Transfer data counter (DC) for the device 1 to n 13- 1 to 13-n Comparison means for devices 1 to n 100 Bus arbitration device 101 Transfer request signal (REQ) 102 Transfer permission signal (GNT)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のデバイスとともにバスに接続さ
れ、前記各デバイス毎に、実際に転送したデータ量を計
測する転送データカウンタと、 前記デバイスの転送レートから決定されるクロックで動
作する基準カウンタと、前記転送データカウンタの値と
前記基準カウンタの値とを入力とし、2つの値を比較す
る比較手段を持ち、複数の前記比較手段からの入力に基
づき、前記デバイスにバス使用許可を与える割当決定手
段とを備え、 前記割当決定手段は、前記比較手段からの入力におい
て、 前記転送データカウンタの値が前記基準カウンタの値よ
りも小さいデバイスと、前記転送データカウンタの値が
前記基準カウンタの値よりも大きいデバイスとがあった
時には、 前記転送量カウンタの値が前記基準カウンタの値よりも
小さいデバイスに対してバス使用許可を与えることを特
徴とするバス調停装置。
1. A transfer data counter which is connected to a bus together with a plurality of devices and measures the amount of data actually transferred for each device, a reference counter which operates with a clock determined from a transfer rate of the device, and Having a comparing means for inputting the value of the transfer data counter and the value of the reference counter and comparing two values, and determining an assignment for granting a bus use permission to the device based on inputs from a plurality of the comparing means Means for determining whether the value of the transfer data counter is smaller than the value of the reference counter, and the value of the transfer data counter is smaller than the value of the reference counter. When there is a device with a larger value, the value of the transfer amount counter is smaller than the value of the reference counter. Bus arbitration device, characterized in that it gives the bus use permission to.
JP9549697A 1997-04-14 1997-04-14 Bus arbitrating device Pending JPH10289203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9549697A JPH10289203A (en) 1997-04-14 1997-04-14 Bus arbitrating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9549697A JPH10289203A (en) 1997-04-14 1997-04-14 Bus arbitrating device

Publications (1)

Publication Number Publication Date
JPH10289203A true JPH10289203A (en) 1998-10-27

Family

ID=14139217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9549697A Pending JPH10289203A (en) 1997-04-14 1997-04-14 Bus arbitrating device

Country Status (1)

Country Link
JP (1) JPH10289203A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7007138B2 (en) 2002-04-17 2006-02-28 Matsushita Electric Industiral Co., Ltd. Apparatus, method, and computer program for resource request arbitration
JP2008033896A (en) * 2006-07-04 2008-02-14 Canon Inc Bus system
US7685344B2 (en) 2005-10-28 2010-03-23 Canon Kabushiki Kaisha Method of setting priority of devices connected to bus, and apparatus having a plurality of devices and arbiter
US7962678B2 (en) 2006-06-15 2011-06-14 Canon Kabushiki Kaisha Bus arbitration apparatus and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7007138B2 (en) 2002-04-17 2006-02-28 Matsushita Electric Industiral Co., Ltd. Apparatus, method, and computer program for resource request arbitration
US7685344B2 (en) 2005-10-28 2010-03-23 Canon Kabushiki Kaisha Method of setting priority of devices connected to bus, and apparatus having a plurality of devices and arbiter
US7962678B2 (en) 2006-06-15 2011-06-14 Canon Kabushiki Kaisha Bus arbitration apparatus and method
US8140727B2 (en) 2006-06-15 2012-03-20 Canon Kabushiki Kaisha Bus arbitration apparatus and method
JP2008033896A (en) * 2006-07-04 2008-02-14 Canon Inc Bus system

Similar Documents

Publication Publication Date Title
US5933610A (en) Predictive arbitration system for PCI bus agents
US5623672A (en) Arrangement and method of arbitration for a resource with shared user request signals and dynamic priority assignment
US5572686A (en) Bus arbitration scheme with priority switching and timer
US7093256B2 (en) Method and apparatus for scheduling real-time and non-real-time access to a shared resource
US5787264A (en) Method and apparatus for arbitrating access to a shared bus
US7769936B2 (en) Data processing apparatus and method for arbitrating between messages routed over a communication channel
US20030088722A1 (en) System and method for managing priorities in a PCI bus system
JP3084218B2 (en) Communication method and synchronous communication system
TWI258081B (en) Arbitrating method and arbiter for bus grant
US5872936A (en) Apparatus for and method of arbitrating bus conflicts
US5948094A (en) Method and apparatus for executing multiple transactions within a single arbitration cycle
US6347351B1 (en) Method and apparatus for supporting multi-clock propagation in a computer system having a point to point half duplex interconnect
US8356128B2 (en) Method and system of reducing latencies associated with resource allocation by using multiple arbiters
JP2004334552A (en) Bus connecting circuit and system
JPH10289203A (en) Bus arbitrating device
US6571306B1 (en) Bus request mechanism for bus master which is parked on a shared bus
EP1238342B1 (en) Apparatus for memory resource arbitration based on dedicated time slot allocation
EP1811394B1 (en) An arbitrator and its arbitration method
US6889283B2 (en) Method and system to promote arbitration priority in a buffer queue
US7043595B2 (en) Data transfer control device
US6138197A (en) Apparatus and method for limit-based arbitration scheme
JP3039451B2 (en) Priority arbitration device
US7085865B2 (en) I/O throughput by pre-termination arbitration
JP2003006139A (en) Dma transfer apparatus
JP3677535B2 (en) Data transfer control circuit