JP3244044B2 - Bus arbitration method and bus system - Google Patents

Bus arbitration method and bus system

Info

Publication number
JP3244044B2
JP3244044B2 JP03722698A JP3722698A JP3244044B2 JP 3244044 B2 JP3244044 B2 JP 3244044B2 JP 03722698 A JP03722698 A JP 03722698A JP 3722698 A JP3722698 A JP 3722698A JP 3244044 B2 JP3244044 B2 JP 3244044B2
Authority
JP
Japan
Prior art keywords
bus
agent
buffer
address
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.)
Expired - Fee Related
Application number
JP03722698A
Other languages
Japanese (ja)
Other versions
JPH11232216A (en
Inventor
英之 和田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP03722698A priority Critical patent/JP3244044B2/en
Publication of JPH11232216A publication Critical patent/JPH11232216A/en
Application granted granted Critical
Publication of JP3244044B2 publication Critical patent/JP3244044B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はバスシステムに関
し、特に1つのバスを介して接続されている複数の下位
エージェントからのバス要求を受け、集中アービトレー
ション方式により優先順序を決定して前記バスによりデ
ータおよびアドレスを転送させてそれぞれ受信データバ
ッファおよび受信アドレスバッファで受信する上位エー
ジェントを備えるバスシステムのバス調停方法および装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus system, and more particularly to a bus system which receives a bus request from a plurality of lower-level agents connected via a single bus, determines a priority order by a centralized arbitration scheme, and uses the bus to transmit data. The present invention also relates to a bus arbitration method and apparatus for a bus system including an upper-level agent for transferring an address and receiving the received data in a reception data buffer and a reception address buffer, respectively.

【0002】[0002]

【従来の技術】従来、この種のバスシステムのバス調停
方法では調停を行う際に受け取り側のアドレス/データ
バッファの状態を監視しており、どちらかのバッファに
空きが無い場合には他のエージェントがバスを獲得でき
ないように制御を行っている。
2. Description of the Related Art Conventionally, in the bus arbitration method of this type of bus system, the state of an address / data buffer on the receiving side is monitored when arbitration is performed. Control is performed so that the agent cannot acquire the bus.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のバス調
停方法は、複数の下位エージェントからデータを伴う転
送をしようとするとき、受信データバッファに空きが無
くなり、受信アドレスバッファに空きがあってもリクエ
ストが受け付けることができなくなり、バスが使用でき
ない状態ができてしまうという欠点がある。これを避け
るためにリードリクエスト専用線を設けて受信データバ
ッファに空きが無く受信アドレスバッファに空きがある
場合にリードリクエストを受け付けるような技術が考案
されたが、信号線の増加等の問題があった。
In the conventional bus arbitration method described above, when a transfer involving data from a plurality of lower agents is attempted, the reception data buffer runs out of space, and even if the reception address buffer has room, There is a disadvantage that the request cannot be accepted and the bus cannot be used. In order to avoid this, a technique has been devised to provide a dedicated line for a read request and receive a read request when there is no space in the reception data buffer and there is room in the reception address buffer, but there is a problem such as an increase in the number of signal lines. Was.

【0004】本発明の目的は、リードリクエスト専用線
などの信号線を増加することなく、受信データバッファ
に空きが無く、受信アドレスバッファに空きがある場合
にバスを使用してリクエストを受付けることのできるバ
ス調停方法および装置を提供することである。
An object of the present invention is to receive a request using a bus when there is no free space in a reception data buffer and a free space in a reception address buffer without increasing the number of signal lines such as dedicated lines for read requests. To provide a bus arbitration method and apparatus that can be used.

【0005】[0005]

【課題を解決するための手段】 本発明のバス調停方法
は、受信アドレスバッファと受信データバッファを備え
た上位エージェントに1つのバスを介して複数の下位エ
ージェントが接続され、前記バスの使用許可を受けた下
位エージェントから前記バスを使用してアドレスおよび
データが前記上位エージェントに転送されるバスシステ
ムのバス調停方法において、前記受信データバッファお
よび受信アドレスバッファのそれぞれに空きがあるか無
いかを示す受信データバッファビジー信号および受信ア
ドレスバッファビジー信号を検出する段階と、前記受信
アドレスバッファビジー信号により前記受信アドレスバ
ッファに空きがあることを検知したとき、バス調停によ
りバスを獲得すべき下位エージェントを決定して、該下
位エージェントにバス使用許可信号を送出する段階と、
前記バス使用許可信号を受信した下位エージェントが前
記受信データバッファビジー信号を受信して、(1)前
記受信データバッファに空きがあることを検知したとき
は、前記バスを使用してアドレス及びデータを前記上位
エージェントに転送し、(2)前記受信データバッファ
に空きが無いことを検知したときは、前記バスを使用し
てアドレスのみを先に上位エージェントに転送した後に
一旦バスを解放し、上位エージェントからの受信データ
バッファビジー信号が前記受信データバッファに空きが
あることを示した後にデータを転送し、かつ、前記アド
レスの転送を開始してからデータの転送が終わるまで
は、上位エージェントは他の下位エージェントからのバ
ス要求を受け付けないように制御する段階とを有する。
Means for Solving the Problems A bus arbitration method according to the present invention includes a reception address buffer and a reception data buffer.
Multiple lower-level agents to a higher-level agent via a single bus.
Agent is connected and the bus is licensed.
Address using the bus from the
A bus system in which data is transferred to the upper agent
In the bus arbitration method, the reception data buffer and the
And receive address buffers have free or no
Receive data buffer busy signal indicating how
Detecting a dress buffer busy signal;
The address buffer busy signal indicates that the received address
When it is detected that there is free space in the
Decide which lower-level agent should get the bus
Sending a bus permission signal to the next agent;
The lower agent that has received the bus use permission signal
(1) before receiving the receive data buffer busy signal
When it is detected that there is free space in the receive data buffer
Uses the bus to transfer addresses and data to the upper
(2) the received data buffer
If it is detected that there is no free space, use the bus
After transferring only the address to the upper agent first
Release the bus once and receive data from the upper agent
Buffer busy signal is empty in the receive data buffer
Transfer data after indicating that there is
From the start of data transfer to the end of data transfer
Means that a higher-level agent is
Control so as not to accept a service request.

【0006】このような構成とすることにより、アドレ
スのみを先に転送できるので、バスの空き時間が短縮さ
れるとともに、アドレス変換やプリフェッチなどの処理
をデータ転送に先行して行うことができる。
With this configuration, only the address can be transferred first, so that the bus idle time can be reduced, and processing such as address conversion and prefetch can be performed prior to data transfer.

【0007】[0007]

【0008】[0008]

【0009】 本発明のバスシステムは、複数の下位エ
ージェントと、バスと、前記バスを介して前記複数の下
位エージェントと接続される上位エージェントとを有し
て構成されるバスシステムにおいて、前記上位エージェ
ントは、前記下位エージェントから転送されるデータが
格納され、データが格納される空きがあるか無いかを示
す受信データバッファビジー信号を送出する受信データ
バッファと、前記下位エージェントから転送されるアド
レスが格納され、受信アドレスが格納される空きがある
か無いかを示す受信アドレスバッファビジー信号を送出
する受信アドレスバッファと、前記受信アドレスバッフ
ァビジー信号を受信して前記受信アドレスバッファに空
きがあることを検知したとき、前記下位エージェントか
らバス要求信号を受けつけ、調停を行ってバスを獲得す
べき下位エージェントを決定して当該下位エージェント
にバス使用許可を与えるバス調停回路とを有し、前記下
位エージェントは、バス使用許可信号を受信したとき前
記受信データバッファが送出した受信データバッファビ
ジー信号を受信して、(1)受信データバッファビジー
信号が前記受信データバッファに空きがあることを示し
ているときは、前記バスを使用してアドレス及びデータ
を前記上位エージェントに転送し、(2)前記受信デー
タバッファビジー信号が前記受信データバッファに空き
が無いことを示しているときは、前記バスを使用してア
ドレスのみを先に前記上位エージェントに転送した後に
一旦バスを解放し、上位エージェントからの受信データ
バッファビジー信号が前記受信データバッファに空きが
あることを示した後にデータを転送し、前記バス調停回
路は、前記下位エージェントが前記アドレスの転送を開
始してからデータの転送が終わるまでは、他の下位エー
ジェントからのバス要求を受け付けないように制御する
The bus system of the present invention includes a plurality of lower
Agent, a bus, and the plurality of
Has a higher-level agent connected to the higher-level agent
In the bus system configured by
The data transferred from the subordinate agent is
Indicates whether or not there is free space for data to be stored
Received data buffer Received data that sends a busy signal
Buffer and the address transferred from the subordinate agent.
Address is stored, and there is space to store the received address.
Sends receive address buffer busy signal indicating whether or not
Receiving address buffer, and receiving address buffer
Receive the busy signal and empty the received address buffer.
When it detects that there is a
Receives a bus request signal, arbitrates, and acquires a bus
Determine the lower-level agent to be used and the lower-level agent
A bus arbitration circuit for granting a bus use permission to the
Prior to receiving the bus grant signal.
The receive data buffer transmitted by the receive data buffer
(1) Receive data buffer busy
Signal indicates that the receive data buffer is empty
The address and data using the bus.
To the upper agent, and (2) the received data
Buffer busy signal is empty in the receive data buffer
If there is no bus, use the bus to access
After transferring only the dress to the upper agent first
Release the bus once and receive data from the upper agent
Buffer busy signal is empty in the receive data buffer
Transfer data after indicating that there is a bus arbitration
The lower agent initiates the forwarding of the address.
From the start to the end of data transfer, other lower
Control not to accept bus requests from agents

【0010】[0010]

【0011】[0011]

【0012】[0012]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0013】図1は本発明のバス調停方法の第1実施形
態のフローチャートである。
FIG. 1 is a flowchart of a bus arbitration method according to a first embodiment of the present invention.

【0014】図1のバス調停方法は、先ず、上位エージ
ェントは複数の下位エージェントからバスの使用要求を
受付ける(ステップS1)。次に、上位エージェントの
受信アドレスバッファに空きがあるか無いかを判断し
(ステップS2)、空きが無ければバスの調停をせずに
終了する(ステップS3)。受信アドレスバッファに空
きがあれば、バスの調停を行ってバスを獲得すべき下位
エージェントを決定してその下位エージェントにバスの
使用を許可する(ステップS4)。続いて上位エージェ
ントの受信データバッファに空きがあるか無いかを判断
し(ステップS5)、空きがある場合はバスを使用許可
された下位エージェントにバスを使用してアドレスとデ
ータを転送させる(ステップS6)。ステップS5で受
信データバッファに空きが無い場合は、下位エージェン
トはバスを使用してアドレスのみを先に転送する(ステ
ップS7)。
In the bus arbitration method shown in FIG. 1, the upper agent first receives a bus use request from a plurality of lower agents (step S1). Next, it is determined whether or not there is a free space in the reception address buffer of the upper agent (step S2). If there is no free space, the process ends without arbitrating the bus (step S3). If there is a free space in the reception address buffer, the bus arbitration is performed to determine a lower agent to acquire the bus, and the lower agent is permitted to use the bus (step S4). Subsequently, it is determined whether or not there is a free space in the reception data buffer of the upper agent (step S5). If there is a free space, the address and data are transferred to the lower agent permitted to use the bus using the bus (step S5). S6). If there is no free space in the received data buffer in step S5, the lower agent transfers only the address first using the bus (step S7).

【0015】本実施形態のバス調停方法では、受信デー
タバッファに空きが無く、受信アドレスバッファに空き
があるとき、アドレスを先に転送するので、バスの空き
時間が短縮され、必要によってはアドレス変換やプリフ
ェッチなどの処理をデータ転送に先行して行うことがで
きる。
In the bus arbitration method according to the present embodiment, when there is no free space in the received data buffer and there is a free space in the received address buffer, the address is transferred first, so that the free time of the bus is shortened. And prefetching can be performed prior to data transfer.

【0016】図2は本発明のバス調停方法の第2実施形
態のフローチャートである。
FIG. 2 is a flowchart of a bus arbitration method according to a second embodiment of the present invention.

【0017】図2のバス調停方法は、先ず、図1のステ
ップS1と同様に、上位エージェントは複数の下位エー
ジェントからのバス使用要求を受付ける(ステップS1
1)。次に、受信データバッファにデータが格納される
空きがあるか無いかを示す受信データバッファビジー信
号を送出し、また受信アドレスバッファにアドレスが格
納される空きがあるか無いかを示す受信アドレスバッフ
ァビジー信号を送出する(ステップS12)。続いて受
信アドレスバッファビジー信号が受信アドレスバッファ
に空きがあることを示しているか判断し(ステップS1
3)、空きがなければ図1のステップS3と同様にバス
の調停を停止し(ステップS14)、空きがあればバス
の調停を行ってバスを獲得すべき下位エージェントを決
定してバス使用許可信号を送る(ステップS15)。続
いて、受信データバッファビジー信号が受信データバッ
ファに空きがあることを示しているか判断し(ステップ
S16)、空きがあればバス使用許可信号を受信した下
位エージェントにアドレスとデータを転送する(ステッ
プS17)。ステップS16で、受信データバッファに
空きが無ければバス使用許可信号を受信した下位エージ
ェントにアドレスのみを先に転送する(ステップS1
8)。
In the bus arbitration method shown in FIG. 2, first, similarly to step S1 in FIG. 1, the upper agent receives a bus use request from a plurality of lower agents (step S1).
1). Next, it sends a receive data buffer busy signal indicating whether there is room in the receive data buffer for storing data, and a receive address buffer indicating whether there is room for storing the address in the receive address buffer. A busy signal is transmitted (step S12). Subsequently, it is determined whether the reception address buffer busy signal indicates that the reception address buffer is empty (step S1).
3) If there is no free space, the bus arbitration is stopped in the same manner as in step S3 of FIG. 1 (step S14). If there is a free space, the bus arbitration is performed to determine the lower-level agent to acquire the bus and to permit the bus use. A signal is sent (step S15). Subsequently, it is determined whether the reception data buffer busy signal indicates that the reception data buffer has a free space (step S16). If there is a free space, the address and data are transferred to the lower agent that has received the bus use permission signal (step S16). S17). In step S16, if there is no free space in the reception data buffer, only the address is first transferred to the lower agent that has received the bus use permission signal (step S1).
8).

【0018】本実施形態のバス調停方法では、図1の場
合と同様に、受信データバッファに空きが無いときアド
レスを先に転送するので、バスの空き時間が短縮され、
必要なアドレス変換やプリフェッチなどの処理を先行し
て行うことができる。
In the bus arbitration method of this embodiment, as in the case of FIG. 1, when there is no free space in the reception data buffer, the address is transferred first, so that the bus free time is shortened.
Necessary processing such as address conversion and prefetch can be performed in advance.

【0019】図3は本発明のバス調停方法の第3実施形
態のフローチャートである。
FIG. 3 is a flowchart of a bus arbitration method according to a third embodiment of the present invention.

【0020】図3のバス調停方法は、ステップS21か
らS27までは図2のステップS11からS17までと
同様であるが、ステップS26で受信データバッファに
空きが無かった場合は、アドレスのみをバスを使用して
上位エージェントに転送した後、一旦バスを解放し(ス
テップS28)、受信データバッファビジー信号が受信
データバッファが空きがあることを示した後、バスを使
用してデータを上位エージェントに転送する(ステップ
S29)。ステップS28でアドレス転送を開始してか
ら、ステップS29のデータ転送が終了するまでの間
は、上位エージェントは他の下位エージェントからのバ
ス使用要求があっても、これに応じない(ステップS3
0)。
In the bus arbitration method of FIG. 3, steps S21 to S27 are the same as steps S11 to S17 of FIG. 2, but if there is no free space in the reception data buffer in step S26, only the address is transferred to the bus. After transferring the data to the upper agent using the bus, the bus is once released (step S28), and the received data buffer busy signal indicates that the received data buffer is free, and then the data is transferred to the upper agent using the bus. (Step S29). From the start of address transfer in step S28 to the end of data transfer in step S29, the upper agent does not respond to a bus use request from another lower agent (step S3).
0).

【0021】本実施形態のバス調停方法は図2の場合と
同様に、受信データバッファに空きが無いとき、アドレ
スのみを先に転送するので、バスの空き時間が短縮さ
れ、必要なアドレス変換やプリフェッチなどの処理をデ
ータ転送に先行して行うことができる。
In the bus arbitration method of the present embodiment, as in the case of FIG. 2, when there is no free space in the reception data buffer, only the address is transferred first, so that the free time of the bus is reduced, and necessary address conversion and Processing such as prefetch can be performed prior to data transfer.

【0022】図4は図1のバス調停方法が適用されたバ
スシステムのブロック図である。
FIG. 4 is a block diagram of a bus system to which the bus arbitration method of FIG. 1 is applied.

【0023】図4のバスシステムは上位エージェント1
と下位エージェント2、3、4および5とバス(不図
示)とから構成され、下位エージェント2、3、4およ
び5はバスを介して上位エージェント1に接続されてい
る。上位エージェント1はバス調停回路11と受信アド
レスバッファ12と受信データバッファ13とを備えて
いる。受信アドレスバッファ12には下位エージェント
2、3、4および5から転送されたアドレスが格納され
る。受信データバッファ13には、下位エージェント
2、3、4および5から転送されたデータが格納され
る。バス調停回路11は下位エージェント2、3、4お
よび5からそれぞれバスの使用許可を要求するバスリク
エスト信号21、31、41および51を受付けて、受
信アドレスバッファ12に格納すべき空きが無いときは
バスの調停を行わない。このとき、受信アドレスバッフ
ァ12に空きがあるときは、バス調停回路11は集中ア
ービトレーション方式のバスの調停を行って優先順位に
従ってバスを獲得すべき下位エージェントを決定してそ
の下位エージェントにバス使用を許可するバスグラント
信号22、32、42または52を送ってバスの使用を
許可する。バスグラント信号22、32、42または5
2を受けた下位エージェント2、3、4または5は、受
信データバッファ13に空きがあれば、アドレスとデー
タをバスを使用して上位エージェントに転送し、受信デ
ータバッファ13に空きが無ければ、アドレスのみを先
に転送する。
The bus system shown in FIG.
And lower agents 2, 3, 4 and 5 and a bus (not shown). The lower agents 2, 3, 4 and 5 are connected to the upper agent 1 via the bus. The upper agent 1 includes a bus arbitration circuit 11, a reception address buffer 12, and a reception data buffer 13. The received address buffer 12 stores the addresses transferred from the lower agents 2, 3, 4, and 5. The received data buffer 13 stores data transferred from the lower agents 2, 3, 4, and 5. The bus arbitration circuit 11 receives bus request signals 21, 31, 41 and 51 requesting permission of bus use from the lower agents 2, 3, 4 and 5, respectively, and when there is no space to be stored in the reception address buffer 12, Do not arbitrate for the bus. At this time, if there is a free space in the reception address buffer 12, the bus arbitration circuit 11 arbitrates the bus in the centralized arbitration system, determines the lower agent to acquire the bus according to the priority, and gives the lower agent the bus use. A bus grant signal 22, 32, 42 or 52 is sent to authorize use of the bus. Bus grant signal 22, 32, 42 or 5
The lower agents 2, 3, 4 or 5 receiving 2 transfer the address and data to the upper agent using the bus if there is a free space in the received data buffer 13, and if there is no free space in the received data buffer 13, Only forward addresses first.

【0024】このバスシステムでは、上位エージェント
の受信データバッファに空きが無くても受信アドレスバ
ッファに空きがあればアドレスのみの転送を先に行うの
で、バスの空き時間が短縮されるとともに、データ転送
に先立ってアドレス変換やプリフェッチなどの処理を行
うことができる。
In this bus system, even if there is no vacancy in the reception data buffer of the upper agent, if there is a vacancy in the reception address buffer, only the transfer of the address is performed first, so that the vacancy time of the bus is shortened and the data transfer is performed. Prior to this, processing such as address conversion and prefetch can be performed.

【0025】図5は図2および図3のバス調停方法が適
用されたバスシステムのブロック図である。
FIG. 5 is a block diagram of a bus system to which the bus arbitration method of FIGS. 2 and 3 is applied.

【0026】図5のバスシステムは上位エージェント1
1 と下位エージェント21 、31 、41 および51 とバ
ス(不図示)とから構成され、下位エージェント21
1、41 および51 はバスを介して上位エージェント
1 に接続されている。上位エージェント11 はバス調
停回路111 と受信アドレスバッファ121 と受信デー
タバッファ131 とを備えている。受信アドレスバッフ
ァ121 には下位エージェント21 、31 、41 および
1 から転送されたアドレスが格納され、自バッファに
アドレスが格納される空きがあるか無いかを示すアドレ
スバッファビジー信号14を送出する。受信データバッ
ファ131 には下位エージェント21 、31 、41 およ
び51 から転送されたデータが格納され、自バッファに
データが格納される空きがあるか無いかを示すデータバ
ッファビジー信号15を送出する。下位エージェント2
1 、31 、41 および51 はそれぞれ上位エージェント
1 にバスの使用を要求するバスリクエスト信号21
1 、311 、411 および511 を送出する。上位エー
ジェント11のバス調停回路111 は、バスリクエスト
信号211 、311 、411 および511 を受付け、受
信アドレスバッファ121 が送出したアドレスバッファ
ビジー信号14を受信して、そのアドレスバッファビジ
ー信号14が受信アドレスバッファ121 にアドレスを
格納すべき空きが無いときはバスの調停を行わない。こ
のとき、受信アドレスバッファに空きがあるときは、バ
ス調停回路111 は、集中アービトレーション方式のバ
スの調停を行って優先順位に従ってバスを獲得すべき下
位エージェントを決定してその下位エージェントにバス
使用を許可するバスグラント信号221 、321 、42
1または521 を送ってバスの使用を許可する。下位エ
ージェント21 、31 、4 1 または51 は上位エージェ
ント11 からバスグラント信号221 、321 、421
または521 を受信すると、上位エージェント11 から
データバッファビジー信号15を受信して受信データバ
ッファ131 に空きがあることを検知すればアドレスと
データをバスを使用して上位エージェント11 に転送
し、受信データバッファ131 に空きが無いことを検知
すればアドレスのみを先に上位エージェント11に転送
する。ここで、このバスシステムが図3のバス調停方法
が適用されている場合は、下位エージェント21 、3
1 、41 または51 がアドレスのみを上位エージェント
1に転送したとき、転送が終ると一旦、バスを解放
し、受信しているデータバッファビジー信号15が受信
データバッファ131 に空きがあることを示すことを検
知したのち、データを上位エージェント11 に転送す
る。この場合、上位エージェント11のバス調停回路1
1 は、下位エージェント21 、31 、41 または51
がアドレスのみの転送を開始してから、データの転送が
終了するまでの間、他の下位エージェントからのバスリ
クエスト信号211、311 、411 および511 によ
るバス使用要求には応じない制御を行う。
The bus system shown in FIG.
1 And subordinate agent 21 , 31 , 41 And 51 And ba
(Not shown).1 ,
31, 41 And 51 Is the upper agent via the bus
11 It is connected to the. Top Agent 11 Is a bus style
Stop circuit 111 And reception address buffer 121 And received data
Buffer 131 And Receive address buffer
A121 Has lower agent 21 , 31 , 41 and
51 The address transferred from is stored in its own buffer.
Address indicating whether there is free space to store the address
A sbuffer busy signal 14 is transmitted. Receive data buffer
Fa 131 Has lower agent 21 , 31 , 41 And
And 51 The data transferred from is stored in its own buffer.
Data bar that indicates whether there is free space for data storage
A buffer 15 is transmitted. Subordinate Agent 2
1 , 31 , 41 And 51 Are the top agents
1 1 Bus request signal 21 requesting the use of a bus
1 , 311 , 411 And 511 Is sent. Top A
Gent 11Bus arbitration circuit 111 Is a bus request
Signal 211 , 311 , 411 And 511 Accept
Address buffer 121 Address buffer sent by
When the busy signal 14 is received, the address buffer busy
Signal 14 is received address buffer 121 Address
If there is no room to store, no bus arbitration is performed. This
If there is free space in the receive address buffer,
Arbitration circuit 111 Is a centralized arbitration scheme
To arbitrate for buses and get buses according to priority
Determine the next agent and bus to its subordinate agents
Bus grant signal 22 that permits use1 , 321 , 42
1Or 521 To allow use of the bus. Lower d
Agent 21 , 31 , 4 1 Or 51 Is the upper age
11 From the bus grant signal 221 , 321 , 421 
Or 521 , The upper agent 11 From
Receives data buffer busy signal 15 and
Buffa 131 If it detects that there is free space, the address and
Higher-level agent 1 using the data bus1 Forward to
And the reception data buffer 131 Detect that there is no free space
If you do, only the address will be sent to the upper agent 1 first.1Forward to
I do. The bus arbitration method shown in FIG.
Is applied, subordinate agent 21 , 3
1 , 41 Or 51 Only the address is the upper agent
11When the transfer is completed, the bus is released once
And the received data buffer busy signal 15 is received.
Data buffer 131 Check that there is room
After knowing, the data is sent to upper agent 11 Forward to
You. In this case, upper agent 11Bus arbitration circuit 1
11 Is the lower agent 21 , 31 , 41 Or 51 
Starts transferring only addresses and then transfers data
Until the end, the bus transfer from other lower agents
Quest signal 211, 311 , 411 And 511 By
Control that does not respond to a bus use request.

【0027】このバスシステムでは、図4のバスシステ
ムと同様に、上位エージェントの受信データバッファに
空きが無くても受信アドレスバッファに空きがあればア
ドレスのみの転送を先に行うので、バスの空き時間が短
縮されるとともに、データ転送に先だってアドレス変換
やプリフェッチなどの処理を行うことができる。
In this bus system, similarly to the bus system of FIG. 4, even if there is no free space in the reception data buffer of the upper agent, if there is a free space in the reception address buffer, only the transfer of the address is performed first. The time can be shortened, and processing such as address conversion and prefetch can be performed prior to data transfer.

【0028】[0028]

【発明の効果】以上説明したように本発明は、上位エー
ジェントの受信データバッファに空きが無いとき、受信
アドレスバッファに空きがあれば、アドレスのみをバス
により転送することにより、バスの空き時間が短縮され
て、有効利用が図られるとともに、データ転送に先立っ
てアドレスが転送されるので、アドレス変換やプリフェ
ッチなどの処理を行うことが出来て情報処理装置の処理
効率が向上するという効果がある。
As described above, according to the present invention, when there is no vacancy in the reception data buffer of the upper-level agent, if there is vacancy in the reception address buffer, only the address is transferred by the bus, so that the vacancy time of the bus is reduced. Since the address can be shortened for effective use, and the address is transferred prior to the data transfer, processing such as address conversion and prefetch can be performed, thereby improving the processing efficiency of the information processing apparatus.

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

【図1】本発明のバス調停方法の第1実施形態のフロー
チャートである。
FIG. 1 is a flowchart of a bus arbitration method according to a first embodiment of the present invention.

【図2】本発明のバス調停方法の第2実施形態のフロー
チャートである。
FIG. 2 is a flowchart of a bus arbitration method according to a second embodiment of the present invention.

【図3】本発明のバス調停方法の第3実施形態のフロー
チャートである。
FIG. 3 is a flowchart of a bus arbitration method according to a third embodiment of the present invention.

【図4】図1のバス調停方法が適用されたバスシステム
のブロック図である。
FIG. 4 is a block diagram of a bus system to which the bus arbitration method of FIG. 1 is applied.

【図5】図2および図3のバス調停方法が適用されたバ
スシステムのブロック図である。
FIG. 5 is a block diagram of a bus system to which the bus arbitration method of FIGS. 2 and 3 is applied;

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

1、11 上位エージェント 2、21 、3、31 、4、41 、5、51 下位エー
ジェント 11、111 バス調停回路 12、121 受信アドレスバッファ 13、131 受信データバッファ 14 アドレスバッファビジー信号 15 データバッファビジー信号 21、211、31、311、41、411、51、511
バスリクエスト信号 22、221、32、321、42、421、52、521
バスグラント信号
1, 1 1 Upper agent 2, 2 1 , 3, 3 1 , 4, 4 1 , 5, 5 1 Lower agent 11, 11 1 Bus arbitration circuit 12, 12 1 Receive address buffer 13, 13 1 Receive data buffer 14 Address Buffer busy signal 15 Data buffer busy signal 21, 21 1 , 31, 31 1 , 41, 41 1 , 51, 51 1
Bus request signals 22, 22 1 , 32, 32 1 , 42, 42 1 , 52, 52 1
Bus grant signal

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 12/00,13/16,13/36 G06F 13/362,13/38,15/16 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 12 / 00,13 / 16,13 / 36 G06F 13 / 362,13 / 38,15 / 16

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 受信アドレスバッファと受信データバッ
ファを備えた上位エージェントに1つのバスを介して複
数の下位エージェントが接続され、前記バスの使用許可
を受けた下位エージェントから前記バスを使用してアド
レスおよびデータが前記上位エージェントに転送される
バスシステムのバス調停方法において、 前記受信データバッファおよび受信アドレスバッファの
それぞれに空きがあるか無いかを示す受信データバッフ
ァビジー信号および受信アドレスバッファビジー信号を
検出する段階と、 前記受信アドレスバッファビジー信号により前記受信ア
ドレスバッファに空きがあることを検知したとき、バス
調停によりバスを獲得すべき下位エージェントを決定し
て、該下位エージェントにバス使用許可信号を送出する
段階と、 前記バス使用許可信号を受信した下位エージェントが前
記受信データバッファビジー信号を受信して、(1)前
記受信データバッファに空きがあることを検知したとき
は、前記バスを使用してアドレス及びデータを前記上位
エージェントに転送し、(2)前記受信データバッファ
に空きが無いことを検知したときは、前記バスを使用し
てアドレスのみを先に上位エージェントに転送した後に
一旦バスを解放し、上位エージェントからの受信データ
バッファビジー信号が前記受信データバッファに空きが
あることを示した後にデータを転送し、かつ、前記アド
レスの転送を開始してからデータの転送が終わるまで
は、上位エージェントは他の下位エージェントからのバ
ス要求を受け付けないように制御する段階とを有するこ
とを特徴とするバス調停方法。
(1)Receive address buffer and receive data buffer
To a higher-level agent with
Number of subordinate agents are connected and the bus is licensed
Received from the lower agent using the bus.
Address and data are transferred to the upper agent
In the bus arbitration method of the bus system, The reception data buffer and the reception address buffer
Receive data buffer indicating whether each has free space
Busy signal and receive address buffer busy signal.
Detecting, The reception address buffer busy signal causes the reception
When it detects that there is free space in the dress buffer,
Decide which lower-level agent should get the bus through arbitration
Sends a bus use permission signal to the lower agent
Stages and The lower agent that has received the bus use permission signal
(1) before receiving the receive data buffer busy signal
When it is detected that there is free space in the receive data buffer
Uses the bus to transfer addresses and data to the upper
(2) the received data buffer
If it is detected that there is no free space, use the bus
After transferring only the address to the upper agent first
Release the bus once and receive data from the upper agent
Buffer busy signal is empty in the receive data buffer
Transfer data after indicating that there is
From the start of data transfer to the end of data transfer
Means that a higher-level agent is
Control so as not to accept a service request.
And a bus arbitration method.
【請求項2】 複数の下位エージェントと、バスと、前
記バスを介して前記複数の下位エージェントと接続され
る上位エージェントとを有して構成されるバスシステム
において、 前記上位エージェントは、 前記下位エージェントから転送されるデータが格納さ
れ、データが格納される空きがあるか無いかを示す受信
データバッファビジー信号を送出する受信データバッフ
ァと、 前記下位エージェントから転送されるアドレスが格納さ
れ、受信アドレスが格納される空きがあるか無いかを示
す受信アドレスバッファビジー信号を送出する受信アド
レスバッファと、 前記受信アドレスバッファビジー信号を受信して前記受
信アドレスバッファに空きがあることを検知したとき、
前記下位エージェントからバス要求信号を受けつけ、調
停を行ってバスを獲得すべき下位エージェントを決定し
て当該下位エージェントにバス使用許可を与えるバス調
停回路とを有し、 前記下位エージェントは、バス使用許可信号を受信した
とき前記受信データバッファが送出した受信データバッ
ファビジー信号を受信して、(1)受信データバッファ
ビジー信号が前記受信データバッファに空きがあること
を示しているときは、前記バスを使用してアドレス及び
データを前記上位エージェントに転送し、(2)前記受
信データバッファビジー信号が前記受信データバッファ
に空きが無いことを示しているときは、前記バスを使用
してアドレスのみを先に前記上位エージェントに転送し
た後に一旦バスを解放し、上位エージェントからの受信
データバッファビジー信号が前記受信データバッファに
空きがあることを示した後にデータを転送し、 前記バス調停回路は、前記下位エージェントが前記アド
レスの転送を開始してからデータの転送が終わるまで
は、他の下位エージェントからのバス要求を受け付けな
いように制御することを特徴とするバスシステム。
(2)Multiple sub-agents, buses, and fronts
Connected to the plurality of lower-level agents via a bus.
Bus system configured with a host agent
At The upper agent, The data transferred from the lower agent is stored.
Received, indicating whether there is free space to store the data
Receive data buffer that sends a data buffer busy signal
And The address transferred from the lower agent is stored.
Indicates whether or not there is free space to store the received address.
Receive address buffer
Res buffer and Receiving the reception address buffer busy signal and
When it is detected that there is free space in the
Upon receiving a bus request signal from the lower agent,
Stop to determine the lower agent to get the bus
To give the lower agent a bus permission
With a stop circuit, The lower agent receives the bus use permission signal
When the received data buffer sent by the received data buffer
Receiving a busy signal and (1) receiving data buffer
A busy signal is available in the receive data buffer
Indicates that the address and address are
Transferring the data to the upper-level agent;
Receive data buffer busy signal
If there is no free space in the bus, use the bus
And transfer only the address to the upper agent first.
Release the bus once and receive from the upper agent
A data buffer busy signal is sent to the receive data buffer.
Transfer data after indicating availability, In the bus arbitration circuit, the lower agent
From the start of data transfer to the end of data transfer
Does not accept bus requests from other lower-level agents.
A bus system characterized by control as follows.
JP03722698A 1998-02-19 1998-02-19 Bus arbitration method and bus system Expired - Fee Related JP3244044B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03722698A JP3244044B2 (en) 1998-02-19 1998-02-19 Bus arbitration method and bus system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03722698A JP3244044B2 (en) 1998-02-19 1998-02-19 Bus arbitration method and bus system

Publications (2)

Publication Number Publication Date
JPH11232216A JPH11232216A (en) 1999-08-27
JP3244044B2 true JP3244044B2 (en) 2002-01-07

Family

ID=12491694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03722698A Expired - Fee Related JP3244044B2 (en) 1998-02-19 1998-02-19 Bus arbitration method and bus system

Country Status (1)

Country Link
JP (1) JP3244044B2 (en)

Also Published As

Publication number Publication date
JPH11232216A (en) 1999-08-27

Similar Documents

Publication Publication Date Title
JPH06266681A (en) Preserving method of indivisible sequence of bus-operation, bus-interface and computer device
US20020019899A1 (en) Method of bus priority arbitration
US5481681A (en) Data transfer operations between two asynchronous buses
JP2015530679A (en) Method and apparatus using high efficiency atomic operations
US20080183936A1 (en) Bus bridge and arbitration method
US20040139258A1 (en) Device and method for improved serial bus transaction using incremental address decode
JP3244044B2 (en) Bus arbitration method and bus system
US6389519B1 (en) Method and apparatus for providing probe based bus locking and address locking
US5826045A (en) Arbitration parking apparatus and method for a split transaction bus in a multiprocessor computer system
CN1095126C (en) Method and apparatus for enabling cache stream access
JP2972491B2 (en) Bus control mechanism and computer system
JP3145765B2 (en) Information processing device
US20020178316A1 (en) System and method for defining private functions of a multi-function peripheral device
EP0533429B1 (en) Computer bus control system
JP2885640B2 (en) Data bus transfer method
JPS63286949A (en) Bus control system
JP2860733B2 (en) Bus connection device
JP2747258B2 (en) Write buffer busy control method
JP3119155B2 (en) Bus access method
JPH08339353A (en) Multiprocessor device
JP3206562B2 (en) Computer system
JPH07334453A (en) Memory access system
JPS59231952A (en) Communication control system between multiprocessors
JPS6145348A (en) Bus priority control system
JPH0461388B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees