A method for arbitrating access by a plurality of agents to a bus utilizes a priority access list. Each agent in the plurality of agents has a position on the priority access list. This position indicates the agent's relative priority level of access to the bus. When at least one agent from the plurality of agents requests access the bus, bus access is granted to the agent among the requesting agents which is highest on the priority access list. Once an agent from the plurality of agents has gained access to the bus, the agent which gained access to the bus is moved to the bottom of the priority access list.
|
1. A method in a computing system for arbitrating access to a bus by a plurality of agents, the method comprising the steps of:
(a) maintaining a distributed priority access list in which each agent in the plurality of agents has a higher priority register which indicates the agent's relative priority level for obtaining access to the bus; (b) when more than one agent from the plurality of agents requests access to the bus, obtaining bus access by an agent from among the agents requesting access which is highest on the distributed priority access list, including the following substeps (b.1) signaling, by each agent requesting access to the bus, a request on a plurality of request lines, each of the plurality of request lines being coupled to each of the plurality of agents, and (b.2) signaling on grant lines, by the agent from among the agents requesting access which is highest on the distributed priority access list, the identity of the agent from among the agents requesting access which is highest on the distributed priority access list, each of the grant lines being coupled to each of the plurality of agents and being separate from the request lines; and, (c) once an agent from the plurality of agents has gained access to the bus, modifying each higher priority register to move the agent which gained access to the bottom of the distributed priority access list, wherein only the agent which gained access is moved lower on the distributed priority access list.
7. A network system comprising:
a bus; a plurality of agents, coupled to the bus; distributed list means, within each of the plurality of agents, for maintaining a distributed priority access list in which each agent in the plurality of agents has a position on the distributed priority access list which indicates each agent's relative priority level of access to the bus; arbitration means, within each of the plurality of agents, for, upon at least one agent from the plurality of agents requesting access to the bus, granting bus access to an agent from among the at least one agent requesting access to the bus which is highest on the distributed priority access list, the arbitration means including a plurality of request lines, each of the plurality of request lines being coupled to each agent in the plurality of agents, each of the plurality of agents requesting access to the bus by placing a signal on a request line from the plurality of request lines, and grant lines, separate from the plurality of request lines and each of the grant lines being coupled to each agent of the plurality of agents, for signaling, a value by an agent on the grant lines identifying said agent as the agent which gains access to the bus; and, list maintenance means, within each of the plurality of agents and coupled to the distributed list means, for moving an agent to a bottom of the distributed priority access list once the agent has gained access to the bus, wherein the list maintenance means moves the agent lower on the distributed priority access list only when the agent gains access to the bus.
4. A method in a computing system for arbitrating access to a bus by a plurality of agents, the method comprising the steps of:
(a) maintaining a distributed priority access list in which each agent in the plurality of agents has a higher priority register which indicates the agent's relative priority level for obtaining access to the bus; (b) when more than one agent from the plurality of agents requests access to the bus, obtaining bus access by an agent from among the agents requesting access which is highest on the distributed priority access list, including the following substeps (b.1) signaling, by each agent requesting access to the bus, a request on a plurality of request lines, each of the plurality of request lines being coupled to each of the plurality of agents, and (b.2) signaling on grant lines, by the agent from among the agents requesting access which is highest on the distributed priority access list, the identity of the agent from among the agents requesting access which is highest on the distributed priority access list, each of the grant lines being coupled to each of the plurality of agents and being separate from the request lines; and, (c) once an agent from the plurality of agents has gained access to the bus, modifying each high priority register to move the agent which gained access to the bottom of the distributed priority access list wherein step (c) includes the substeps of: (c1) for the agent gaining access to the bus, setting to a first logic value all bits within the higher priority register of the agent gaining access to the bus; and, (c2) for agents in the plurality of agents not gaining access to the bus, setting to a second logic value a bit within the agent's higher priority register, the bit set to the second logic value corresponding to the agent which did gain access to the bus.
10. A network system comprising:
a bus; a plurality of agents, coupled to the bus; distributed list means, within each of the plurality of agents, for maintaining a distributed priority access list in which each agent in the plurality of agents has a position on the distributed priority access list which indicates each agent's relative priority level of access to the bus, wherein the distributed list means includes within each agent from the plurality of agents: a higher priority register, the higher priority register including a bit for every agent from the plurality of agents except for an agent containing the higher priority register, bits within the higher priority register being set to a first logic value for every agent from the plurality of agents which has a position higher on the distributed priority access list than the agent containing the higher priority register, and bits within the higher priority register being set to a second logic value for every agent from the plurality of agents which has a position lower on the distributed priority access list than the agent containing the higher priority register; arbitration means, within each of the plurality of agents, for, upon at least one agent from the plurality of agents requesting access to the bus, granting bus access to an agent from among the at least one agent requesting access to the bus which is highest on the distributed priority access list, the arbitration means including a plurality of request lines, each of the plurality of request lines being coupled to each agent in the plurality of agents, each of the plurality of agents requesting access to the bus by placing a signal on a request line from the plurality of request lines, and grant lines, separate from the plurality of request lines and each of the grant lines being coupled to each agent of the plurality of agents, for signaling a value by an agent on the grant lines identifying said agent as the agent which gains access to the bus; and, list maintenance means, within each of the plurality of agents and coupled to the distributed list means, for moving an agent to a bottom of the distributed priority access list once the agent has gained access to the bus.
3. A method as in
6. A method as in
8. A network system as in
11. A network system as in
setting means, coupled to the higher priority register, for setting all bits to the first logic value within the higher priority register upon the agent containing the higher priority register gaining access to the bus; and, clearing means, coupled to the higher priority register, for setting to the second logic value a bit within the higher priority register for an agent which gains access to the bus when the agent which gains access to the bus is not the agent containing the higher priority register.
12. A network system as in
a register set line, the register set line logically coupled to all bits in the higher priority register, the register set line within a particular agent being driven to logic 1 when the particular agent gains access to the bus.
13. A network system as in
a plurality of logical "OR" gates, an output of each logical "OR" gate being coupled to a bit in the higher priority register and an input of each logical "OR" gate being coupled to the register set line; a plurality of logical "AND" gates, an output of each logical "AND" gate being coupled to a logical "OR" gate from the plurality of logical "OR" gates, and a first input of each logical "AND" gate coupled to a bit in the higher priority register; and, decoding means, coupled to the grant lines, and coupled to a second input of each of the plurality of logical "AND" gates, for decoding the value on the grant lines and for driving on a second input of one of the plurality of logical "AND" gates a logic 0 for an agent which the value on the grant lines identifies as the agent which gains access to the bus.
14. A network system as in
a plurality of access lines, coupled to the plurality of request lines, one access line in the plurality of access lines being driven to logic 1 when one agent in the plurality of agents desires to access the bus; a plurality of "AND" gates, one "AND" gate for every agent in the plurality of agents, each "AND" gate from the plurality of "AND" gates having an output, a first input and a second input, the first input being coupled to an access line, the output for a first "AND" gate in the plurality of "AND" gates for a first agent which contains the arbitration means being driven to logic 1 when the first agent has access to the bus, and the second input for every agent in the plurality of agents except the first agent being coupled to a bit within the higher priority register, a "NOR" gate, having an output and a plurality of inputs, the output of the "NOR" gate being coupled to a second input of the first "AND" gate, and each input being coupled to an output of an "AND" gate from the plurality of "AND" gates except the first "AND" gate.
15. A network system as in
|
This application is a continuation of application Ser. No. 07/436,144, filed Nov. 13, 1989, now abandoned.
The present invention concerns the use of a distributed priority list in order to implement a distributed fair arbitration scheme for providing agents with access to a data communication bus. An agent is a module on a bus which can master transactions.
When many agents simultaneously seek access to a bus, some type of arbitration scheme needs to be used to determine which agent may use the bus for its data transaction. In the prior art a number of schemes have been used. For example, in parallel contention schemes each agent is assigned an arbitration number which determines its access priority to the bus. In Round Robin Schemes there is a dynamic assignment of arbitration numbers and thus access priority to the bus is dynamic. In First-Come First-Served schemes there is an attempt to award an agent access to the bus in the order that the agents request access. In all these schemes there is an attempt to provide agents fair access to the bus with minimal overhead or implementation cost.
In accordance with the preferred embodiment of the present invention a method for arbitrating access by a plurality of agents to a bus is presented. A priority access list is maintained. Each agent in the plurality of agents has a position on the priority access list. This position indicates the agent's relative priority level of access to the bus. When more than one agent from the plurality of agents requests access to the bus, bus access is granted to the requesting agent which is higher on the priority access list than all other requesting agents. Once an agent from the plurality of agents has gained access to the bus, the agent which gained access to the bus is moved to the bottom of the priority access list.
In the preferred embodiment, the priority access list is distributed among the plurality of agents. Each agent includes a higher priority register. At initialization each agent is given an initial position on the priority access list. This is done by initializing each agent's higher priority register. Within each agent, the higher priority register is initialized. For example, a first higher priority register in a first agent is initialized. For every agent higher on the priority access list than the first agent a corresponding bit in the first higher priority register is set to logic 1. For every agent lower on the higher priority register than the first agent a corresponding bit in the first higher priority register is set to logic 0.
Once initialized, the order of agents on the priority access list is changed after an agent gains access to the bus. When an agent gains access to the bus, the agent is moved to the bottom of the priority access list. That is, the agent which gained access to the bus sets to logic 1 every bit in its higher priority register. Likewise, within every agent not gaining access to the bus, the bit within the higher priority register corresponding to the agent gaining access is set to logic 0.
The present invention is an improvement over the prior art in that it is an inexpensive and efficient implementation of a fair arbitration scheme. What is meant by a fair arbitration scheme is an arbitration scheme in which when more than one agent requests access to the bus, the requesting agent which least recently used the bus will be the agent that gains access to the bus.
FIG. 1 shows agents connected to a bus in accordance with the preferred embodiment of the present invention.
FIG. 2 shows hardware logic which implements a distributed fair arbitration scheme for a single agent in accordance with the preferred embodiment of the present invention.
In FIG. 1 an agent 10, an agent 11, an agent 12 and an agent 13 are shown connected to a bus 1. When any of agents 10, 11, 12 and 13 request access to bus 1 for a data transfer, an arbitration scheme is used to determine who can have control of bus 1. In the present distributed arbitration scheme, when agent 10 desires to access bus 1, agent 10 drives to logic 1 a line 20. When agent 11 desires to access bus 1, agent 11 drives to logic 1 a line 21. When agent 12 desires to access bus 1, agent 12 drives to logic 1 a line 22. When agent 13 desires to access bus 1, agent 13 drives to logic 1 a line 23.
When one of agents 10, 11, 12 and 13 is awarded access to bus 1, the agent receiving access identifies itself over lines 2. For example, if agent 10 gains access to bus 1, agent 10 will drive to logic 0 both of lines 2. If agent 11 gains access to bus 1, agent 11 will drive to logic 0 a first of lines 2 and drive a second of lines 2 to logic 1. If agent 12 gains access to bus 1, agent 12 will drive the first of lines to logic 1 and drive to logic 0 the second of lines 2. If agent 13 gains access to bus 1, agent 13 will drive both of lines 2 to logic 1.
Although in FIG. 1 lines 2, 20, 21, 22 and 23 are logically separate from bus 1 and are shown separate from bus 1; nevertheless, the lines of bus 1 may be time shared so that lines 2, 20, 21, 22 and 23 may be implemented by the same lines of bus 1 that transfer data.
In order to allow fair arbitration of bus access for each of agents 10, 11, 12 and 13, a distributed priority list is maintained by the agents. The distributed priority list is used to decide which agent may have access to bus 1. An agent at the top of the priority list has the highest priority to access bus 1. The agent next on the list has the next highest priority, and so on. The agent at the bottom of the priority list has the lowest priority.
When bus 1 is free, each of agents 10, 11, 12 and 13 which desires to access bus 1 will respectively drive one of lines 20, 21, 22, or 23 to logic 1, as described above. Of agents 10, 11, 12 and 13 which drive to logic 1 one of lines 20, 21, 22 or 23, the agent with the highest priority receives access to bus 1. The agent receiving access will identify itself on lines 2. The agent that received access to bus 1 gets moved to the bottom of the distributed priority list. This agent becomes the lowest priority agent for the next arbitration.
The information provided agents 10, 11, 12 and 13 over lines 2, 20, 21, 22 and 23 is enough to implement the distributed priority list access method. Each of agents 10, 11, 12 and 13 maintain a higher priority register. For each agent, its higher priority register contains one bit for every other agent. Thus a higher priority register for agent 10 will contain a bit for agent 11, a bit for agent 12 and a bit for agent 13. A higher priority register for agent 11 will contain a bit for agent 10, a bit for agent 12 and a bit for agent 13. A higher priority register for agent 12 will contain a bit for agent 10, a bit for agent 11 and a bit for agent 13. A higher priority register for agent 13 will contain a bit for agent 10, a bit for agent 11 and a bit for agent 12.
If a first of agents 10, 11, 12 and 13 has a lower priority than a second of agents 10, 11, 12 and 13, the bit within the higher priority register of the first of agents 10, 11, 12 and 13 which corresponds to the second of agents 10, 11, 12 and 13 will be set to logic 1. If the first of agents 10, 11, 12 and 13 has a higher priority than the second of agents 10, 11, 12 and 13, the bit within the higher priority register of the first of agents 10, 11, 12 and 13 which corresponds to the second of agents 10, 11, 12 and 13 will be set to logic 0.
For example, if agent 10 has the highest priority, all the bits in its higher priority register will be set to logic 0. If agent 11 has the second highest priority, the bit within its higher priority register which corresponds to agent 10 will be set to logic 1. All other bits within the higher priority register of agent 11 will be set to logic 0. If agent 12 has the third highest priority, the bits within its higher priority register which correspond to agent 10 and agent 11 will be set to logic 1. The bit within the higher priority register of agent 12 which corresponds to agent 13 will be set to logic 0. Agent 13 will then have the lowest priority and all the bits in the higher priority register of agent 13 will be set to logic 1.
An agent with a higher priority register which contains all logic 0s has the highest priority to access bus 1. An agent with a higher priority register which contains only one logic 1 has the second highest priority. An agent with a higher priority register which contains two logic 1s has the third highest priority. An agent with a higher priority register which contains all logic 1s has the lowest priority.
Table 1 below shows the contents of the higher priority registers for each of agents 10, 11, 12 and 13. In Table 1 and in the following tables, for the contents of each higher priority register, the leftmost bit represents the relative priority of agent 10, the second leftmost bit represents the relative priority of agent 11, the third leftmost bit represents the relative priority of agent 12 and the rightmost bit represents the relative priority of agent 13. An "X" refers to a register bit which has been deleted or is nullified.
TABLE 1 |
______________________________________ |
Agent 10 Agent 11 Agent 12 Agent 13 |
______________________________________ |
X 0 0 0 1 X 0 0 1 1 X 0 1 1 1 X |
______________________________________ |
For example, at the first arbitration time agent 11 drives to logic 1 line 21 indicating agent 11 wants to access bus 1. Simultaneously, agent 13 drives to logic 1 line 23 indicating agent 13 also wants to access bus 1. Agent 10 and agent 12 do not want to access bus 1 at this time so lines 20 and lines 22 remain at logic 0. Each of agents 10, 11, 12 and 13 see values for lines 20, 21, 22 and 23 as shown in Table 2 below.
TABLE 2 |
______________________________________ |
Line 20 Line 21 Line 22 Line 23 |
______________________________________ |
0 1 0 1 |
______________________________________ |
Agent 13 will note that line 21 is driven to logic 1 indicating that agent 11 desires to access bus 1. Since the bit for agent 11 within the higher priority register of agent 13 is set to logic 1, agent 13 knows that it does not have high enough priority to access bus 1. Simultaneously agent 11, will note that line 23 is driven to logic 1 indicating that agent 13 desires to access bus 1. However, the bit for agent 13 within the higher priority register of agent 11 is set to logic 0, indicating that agent 11 has a higher priority than agent 13. Agent 11 thus realizes it has been granted access to bus 1. Agent 11 will then perform its desired bus transaction and will identify itself as the agent who accessed the bus by driving the logic value "01" on lines 2. Each of agents 10, 12 and 13 will then set to logic 0 the bit in their higher priority register for agent 11. Likewise, agent 11 will set to logic 1 the bits in its higher priority register. In this way agent 11 is moved to the bottom of the distributed priority list. Now, agent 10 will still have the highest priority, but agent 12 will have the second highest priority and agent 13 will have the third highest priority.
Table 3 below shows the contents of the higher priority registers for each of agents 10, 11, 12 and 13.
TABLE 3 |
______________________________________ |
Agent 10 Agent 11 Agent 12 Agent 13 |
______________________________________ |
X 0 0 0 1 X 1 1 1 0 X 0 1 0 1 X |
______________________________________ |
Now, if agent 11 drives to logic 1 line 21 indicating agent 11 wants to access bus 1, and simultaneously, agent 13 drives to logic 1 line 23 indicating agent 13 also wants to access bus 1, a different result will occur. Suppose again agent 10 and agent 12 do not want to access bus 1, then lines 20 and lines 22 remain at logic 0. Each of agents 10, 11, 12 and 13 see values for lines 20, 21, 22 and 23 as shown in Table 4 below.
TABLE 4 |
______________________________________ |
Line 20 Line 21 Line 22 Line 23 |
______________________________________ |
0 1 0 1 |
______________________________________ |
Agent 11 will note that line 23 is driven to logic 1 indicating that agent 13 desires to access bus 1. Since the bit for agent 13 within the higher priority register of agent 11 is set to logic 1, agent 11 knows that it does not have high enough priority to access bus 1. Simultaneously agent 13, will note that line 21 is driven to logic 1 indicating that agent 11 desires to access bus 1. However, the bit for agent 11 within the higher priority register of agent 13 is set to logic 0, indicating that agent 13 has a higher priority than agent 11. Agent 13 thus realizes it has been granted access to bus 1. Agent 13 will then perform its desired bus transaction and will identify itself as the agent who accessed the bus by driving the logic value "11" on lines 2. Each of agents 10, 11 and 12 will then set to logic 0 the bit in their higher priority register for agent 13.
Likewise, agent 13 will set to logic 1 the bits in its higher priority register. In this way agent 13 is moved to the bottom of the distributed priority list. Now, agent 10 will still have the highest priority and agent 12 will have the second highest priority, but agent 11 will have the third highest priority.
Table 5 below shows the contents of the higher priority registers for each of agents 10, 11, 12 and 13.
TABLE 5 |
______________________________________ |
Agent 10 Agent 11 Agent 12 Agent 13 |
______________________________________ |
X 0 0 0 1 X 1 0 1 0 X 0 1 1 1 X |
______________________________________ |
Now, for example, if agent 10 drives to logic 1 line 20 indicating agent 10 wants to access bus 1, and lines 21, 22, and 23 remain at logic 0 because agents 11, 12 and 13 do not want to access bus 1, then each of agents 10, 11, 12 and 13 see values for lines 20, 21, 22 and 23 as shown in Table 4 below.
TABLE 6 |
______________________________________ |
Line 20 Line 21 Line 22 Line 23 |
______________________________________ |
1 0 0 0 |
______________________________________ |
Agent 10 will note that none of lines 21, 22 and 23 are driven to logic 1. Therefore, agent 10 realizes it has been granted access to bus 1. Agent 10 will then perform its desired bus transaction and will identify itself as the agent who accessed the bus by driving the logic value "00" on lines 2. Each of agents 11, 12 and 13 will then set to logic 0 the bit in their higher priority register for agent 10.
Likewise, agent 10 will set to logic 1 the bits in its higher priority register. In this way agent 10 is moved to the bottom of the distributed priority list. Now, agent 12 will have the highest priority, agent 11 will have the second highest priority, and agent 13 will have the third highest priority.
Table 7 below shows the contents of the higher priority registers for each of agents 10, 11, 12 and 13.
TABLE 7 |
______________________________________ |
Agent 10 Agent 11 Agent 12 Agent 13 |
______________________________________ |
X 1 1 1 0 X 1 0 0 0 X 0 0 1 1 X |
______________________________________ |
Now, for example, suppose agent 10 drives to logic 1 line 20 indicating agent 10 wants to access bus 1, agent 11 drives to logic 1 line 21 indicating agent 11 wants to access bus 1, and agent 13 drives to logic 1 line 23 indicating agent 13 wants to access bus 1. Line 22 remains at logic 0 indicating agent 12 does not want to access bus 1. Each of agents 10, 11, 12 and 13 sees values for lines 20, 21, 22 and 23 as shown in Table 8 below.
TABLE 8 |
______________________________________ |
Line 20 Line 21 Line 22 Line 23 |
______________________________________ |
1 1 0 1 |
______________________________________ |
Agent 10 will note that line 21 and line 23 are driven to logic 1 indicating that agent 11 and agent 13 desire to access bus 1. Since both the bits for agent 11 and agent 13 within the higher priority register of agent 10 are set to logic 1, agent 10 knows that it does not have high enough priority to access bus 1. Likewise, Agent 13 will note that line 20 and line 21 are driven to logic 1 indicating that agent 10 and agent 11 desire to access bus 1. Since the bit for agent 11 within the higher priority register of agent 13 is set to logic 1, agent 13 knows that it does not have high enough priority to access bus 1. Agent 11, will note that line 20 and line 23 are driven to logic 1 indicating that agent 10 and agent 13 desire to access bus 1. However, the bits for agent 10 and agent 13 within the higher priority register of agent 11 are set to logic 0, indicating that agent 11 has a higher priority than either agent 10 or agent 13. Agent 11 thus realizes it has been granted access to bus 1. Agent 11 will then perform its desired bus transaction and will identify itself as the agent who accessed the bus by driving the logic value "01" on lines 2. Each of agents 10, 12 and 13 will then set to logic 0 the bit in their higher priority register for agent 11. Likewise, agent 11 will set to logic 1 the bits in its higher priority register. In this way agent 11 is moved to the bottom of the distributed priority list. Now, agent 12 will still have the highest priority, but agent 13 will have the second highest priority and agent 10 will have the third highest priority.
Table 9 below shows the contents of the higher priority registers for each of agents 10, 11, 12 and 13.
TABLE 9 |
______________________________________ |
Agent 10 Agent 11 Agent 12 Agent 13 |
______________________________________ |
X 0 1 1 1 X 1 1 0 0 X 0 0 0 1 X |
______________________________________ |
FIG. 2 shows hardware logic which implements the distributed priority list for residing in each of agents 10, 11, 12 and 13. The hardware logic includes a bit register 50, a bit register 51, a bit register 52 and a bit register 53. Registers 50-53 are used as the higher priority register. Bit register 50 is the bit in the higher priority register for agent 10. Bit register 51 is the bit in the higher priority register for agent 11. Bit register 52 is the bit in the higher priority register for agent 12. Bit register 53 is the bit in the higher priority register for agent 13.
The hardware logic also includes a logical "AND" gate 30, a logical "AND" gate 31, a logical "AND" gate 32, a logical "AND" gate 33, a logical "AND" gate 60, a logical "AND" gate 61, a logical "AND" gate 62, a logical "AND" gate 63, a logical "AND" gate 65, a logical "OR" gate 40, a logical "OR" gate 41, a logical "OR" gate 42, a logical "OR" gate 43, a logical "NOR" gate 64 and a decoder 66 connected as shown.
The logic shown in FIG. 2 is generic for all the agents. However, when implemented in each agent the hardware logic shown in FIG. 2 includes redundant logic which must be eliminated or nullified. For example, for agent 10, logical "AND" gate 30, logical "OR" gate 40, bit register 50 and logical "AND" gate 60 should be either removed or nullified. When the logic is removed, logic "NOR" gate is reduced to three inputs. The logic may be nullified, for example, by replacing line 20 with a line connected to logic 0. Similarly, for agent 11, logical "AND" gate 31, logical "OR" gate 41, bit register 51 and logical "AND" gate 61 should be either removed or nullified. The logic may be nullified, for example, by replacing line 21 with a line connected to logic 0. For agent 12, logical "AND" gate 32, logical "OR" gate 42, bit register 52 and logical "AND" gate 62 should be either removed or nullified. The logic may be nullified, for example, by replacing line 22 with a line connected to logic 0. For agent 13, logical "AND" gate 33, logical "OR" gate 43, bit register 53 and logical "AND" gate 63 should be either removed or nullified. The logic may be nullified, for example, by replacing line 23 with a line connected to logic 0.
When an agent desires access to the bus it will drive to logic 1 its own line 26. If the result is that line 67 is driven to logic 1, this indicates to the agent that it has access to bus 1. Line 67 will be driven to logic 1 when none of the other agents with higher priority desire bus 1. If line 67 remains at logic 0, then the agent knows that it did not gain access to bus 1.
When the agent gains access to bus 1, a line 25 is driven to logic 1. This sets to logic 1 the bits in registers 50-53 for all the other agents. When another agent gains access to bus 1, the agent receiving access is identified by lines 2. Decoder 66 decodes lines 2 and causes to be driven to logic 0 the input of the register from registers 50-53 for the agent that gains access to bus 1. A clock input 69 clocks registers 50-53 setting registers 50-53 to the values at the input of each of the respective registers.
Once an agent receives all of the arbitration request signals from the other agents, it takes approximately two gate delays to determine if it won arbitration. This means an agent can determine whether or not it won arbitration in approximately one bus propagation time plus two gate delays.
While this description has presented an example of four agents accessing a bus, the distributed priority list arbitration method can be used to arbitrate any number N agents (numbered 0 through N-1). The cost to each agent of implementing the arbitration method is directly proportional to N.
The distributed priority list arbitration method guarantees that each agent will gain access to the bus within N-1 transaction times in the worst case of every agent continuously requesting access to the bus. The wait will be less than N-1 if the bus is not saturated, or if the agent has not requested the bus for some period of time. This is because if an agent does not request the bus for a long time, the agent rises to the top of the list as other agents gain access to the bus and are placed at the bottom of the list. When the agent finally requests the bus, it will have a very high priority, ensuring that it will quickly gain access to the bus.
All agents must be initialized to a consistent state before bus 1 is accessed. A simple initialization strategy is to initialize each higher priority register to a value based on the statically-assigned slot number of the agent on the bus. For example, the agent in the first slot would have the highest priority, the agent in the second slot would have the second highest priority, etc.
Carter, Richard J., Wille, Ross M.
Patent | Priority | Assignee | Title |
5241629, | Oct 05 1990 | Bull HN Information Systems Inc.; BULL HN INFORMATION SYSTEMS INC , A CORP OF DE | Method and apparatus for a high performance round robin distributed bus priority network |
5257385, | Dec 30 1991 | Apple Inc | Apparatus for providing priority arbitration in a computer system interconnect |
5276887, | Jun 06 1991 | Gateway, Inc | Bus arbitration system for granting bus access to devices following two-wire bus arbitration protocol and devices following three-wire bus arbitration protocol |
5280591, | Jul 22 1991 | INTERNATIONAL BUSINESS MACHINES CORPORATION A CORP OF NEW YORK | Centralized backplane bus arbiter for multiprocessor systems |
5375223, | Jan 07 1993 | International Business Machines Corporation | Single register arbiter circuit |
5410677, | Dec 30 1991 | Apple Inc | Apparatus for translating data formats starting at an arbitrary byte position |
5418967, | Jun 22 1990 | ENTERASYS NETWORKS, INC | Fast arbiter having easy scaling for large numbers of requesters, large numbers of resource types with multiple instances of each type, and selectable queuing disciplines |
5434984, | Mar 27 1992 | ALCATEL N V | Priority based access control arrangement |
5463741, | Sep 13 1990 | International Business Machines Corporation | Duplicated logic and interconnection system for arbitration among multiple information processors |
5481680, | May 17 1993 | AT&T Corp. | Dynamically programmable bus arbiter with provisions for historical feedback and error detection and correction |
5515516, | Mar 01 1994 | Intel Corporation | Initialization mechanism for symmetric arbitration agents |
5524235, | Oct 14 1994 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | System for arbitrating access to memory with dynamic priority assignment |
5535395, | Oct 02 1992 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Prioritization of microprocessors in multiprocessor computer systems |
5546587, | May 30 1991 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Decentralized bus arbitration system which continues to assert bus request signal to preclude other from asserting bus request signal until information transfer on the bus has been completed |
5553248, | Oct 02 1992 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | System for awarding the highest priority to a microprocessor releasing a system bus after aborting a locked cycle upon detecting a locked retry signal |
5553310, | Oct 02 1992 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Split transactions and pipelined arbitration of microprocessors in multiprocessing computer systems |
5557753, | Sep 12 1991 | Hitachi, LTD | Information processing unit having a multiplexed bus and a bus control method therefor |
5566305, | Sep 13 1990 | International Business Machines Corporation | Duplicated logic and interconnection system for arbitration among multiple information processors |
5581782, | Mar 01 1994 | Intel Corporation | Computer system with distributed bus arbitration scheme for symmetric and priority agents |
5586331, | Sep 13 1990 | International Business Machines Corporation | Duplicated logic and interconnection system for arbitration among multiple information processors |
5596729, | Mar 03 1995 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | First arbiter coupled to a first bus receiving requests from devices coupled to a second bus and controlled by a second arbiter on said second bus |
5640599, | Dec 30 1991 | Apple Computer, Inc. | Interconnect system initiating data transfer over launch bus at source's clock speed and transfering data over data path at receiver's clock speed |
5680554, | Jan 16 1995 | TRANSPACIFIC AVARTAR, LLC | Method and apparatus for arbitrating among processors for access to a common bus |
5682467, | Sep 29 1994 | Xerox Corporation | Arbitrating apparatus for controlling selective access of multiple bus masters to a printing system video bus |
5694545, | Dec 30 1991 | Apple Inc | System for providing control of data transmission by destination node using stream values transmitted from plural source nodes |
5831985, | Nov 09 1995 | EMC Corporation | Method and apparatus for controlling concurrent data transmission from multiple sources in a channel communication system |
5862355, | Sep 12 1996 | Symbol Technologies, LLC | Method and apparatus for overriding bus prioritization scheme |
5875339, | Oct 21 1993 | Sun Microsystems, Inc. | Asynchronous arbiter using multiple arbiter elements to enhance speed |
5887196, | Dec 30 1991 | Apple Inc | System for receiving a control signal from a device for selecting its associated clock signal for controlling the transferring of information via a buffer |
5901297, | Mar 01 1994 | Intel Corporation | Initialization mechanism for symmetric arbitration agents |
5923859, | Apr 13 1995 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Dual arbiters for arbitrating access to a first and second bus in a computer system having bus masters on each bus |
5930486, | Sep 09 1996 | Intel Corporation | Method and device for gracious arbitration of access to a computer system resource |
5940597, | Jan 11 1995 | Sony Corporation; Sony Electronics, INC | Method and apparatus for periodically updating entries in a content addressable memory |
5954809, | Jul 19 1996 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Circuit for handling distributed arbitration in a computer system having multiple arbiters |
6012099, | Jan 11 1995 | Sony Corporation; Sony Electronics, Inc. | Method and integrated circuit for high-bandwidth network server interfacing to a local area network |
6061599, | Mar 01 1994 | Intel Corporation | Auto-configuration support for multiple processor-ready pair or FRC-master/checker pair |
6073199, | Oct 06 1997 | Cisco Technology, Inc. | History-based bus arbitration with hidden re-arbitration during wait cycles |
6122667, | Jan 11 1995 | Sony Corporation; Sony Electronics | Method and integrated circuit for high-bandwidth network server interfacing to a local area network using CSMA/CD |
6157951, | Sep 17 1997 | Sony Corporation; Sony Electronics, Inc. | Dual priority chains for data-communication ports in a multi-port bridge for a local area network |
6256313, | Jan 11 1995 | Sony Corporation; Sony Electronics, Inc. | Triplet architecture in a multi-port bridge for a local area network |
6301256, | Sep 17 1997 | Sony Corporation; Sony Electronics, Inc. | Selection technique for preventing a source port from becoming a destination port in a multi-port bridge for a local area network |
6308218, | Sep 17 1997 | Sony Corporation; Sony Electronics, Inc. | Address look-up mechanism in a multi-port bridge for a local area network |
6363067, | Mar 30 1968 | Sony Corporation; Sony Electronics, Inc. | Staged partitioned communication bus for a multi-port bridge for a local area network |
6374329, | Feb 20 1996 | DBD CREDIT FUNDING, LLC | High-availability super server |
6385680, | Oct 15 1999 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Method for flexibly allocating request/grant pins between multiple bus controllers |
6389492, | Oct 15 1999 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Apparatus for flexibly allocating request/grant pins between multiple bus controllers |
6442168, | Sep 17 1997 | Sony Corporation; Sony Electronics, Inc. | High speed bus structure in a multi-port bridge for a local area network |
6446173, | Sep 17 1997 | Sony Corporation; Sony Electronics, Inc. | Memory controller in a multi-port bridge for a local area network |
6617879, | Sep 17 1997 | Sony Corporation; Sony Electronics Inc. | Transparently partitioned communication bus for multi-port bridge for a local area network |
6738384, | Sep 17 1997 | Sony Corporation; Sony Electronics Inc. | Technique for optimizing cut-through for broadcast and multi-cast packets in a multi-port bridge for a local area network |
6744728, | Sep 17 1997 | Sony Corporation & Sony Electronics, Inc. | Data pipeline timing optimization technique in a multi-port bridge for a local area network |
6751225, | Sep 17 1997 | Sony Corporation; Sony Electronics Inc. | Port within a multi-port bridge including a buffer for storing routing information for data packets received in the port |
6816490, | Sep 17 1997 | Sony Corporation; Sony Electronics Inc. | Statistical learning technique in a multi-port bridge for a local area network |
6957290, | Oct 06 2000 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Fast arbitration scheme for a bus |
6976109, | Apr 16 2003 | AI-CORE TECHNOLOGIES, LLC | Multi-level and multi-resolution bus arbitration |
7065595, | Mar 27 2003 | International Business Machines Corporation | Method and apparatus for bus access allocation |
7076586, | Oct 06 2000 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Default bus grant to a bus agent |
7337251, | Dec 17 2004 | NEC ELECTRRONICS CORPORATION; Renesas Electronics Corporation | Information processing device with priority-based bus arbitration |
7584330, | Feb 20 1996 | RPX Corporation | Multi-processor data coherency |
7685346, | Jun 26 2007 | Intel Corporation | Demotion-based arbitration |
8077638, | Jun 26 2008 | Qualcomm Incorporated | Methods and apparatus for providing quality of service in a peer to peer network |
8347009, | Jul 29 2009 | Denso Corporation | Communication system having a plurality of communication nodes |
8667197, | Sep 08 2010 | Intel Corporation | Providing a fine-grained arbitration system |
8984198, | Jul 21 2009 | Microchip Technology Incorporated | Data space arbiter |
9390039, | Sep 08 2010 | Intel Corporation | Providing a fine-grained arbitration system |
RE40317, | Dec 30 1991 | Apple Inc. | System for receiving a control signal from a device for selecting its associated clock signal for controlling the transferring of information via a buffer |
Patent | Priority | Assignee | Title |
3949368, | Jan 23 1974 | Data General Corporation | Automatic data priority technique |
4232296, | Jun 29 1976 | U.S. Philips Corporation | Remote control/digital tuning interface with parallel operation with manual switches |
4554628, | Aug 17 1981 | Unisys Corporation | System in which multiple devices have a circuit that bids with a fixed priority, stores all losing bids if its bid wins, and doesn't bid again until all stored bids win |
4633394, | Apr 24 1984 | INTERNATIONAL BUSINESS MACHINES CORPORATION A CORP OF NY | Distributed arbitration for multiple processors |
4663756, | Aug 29 1985 | Sperry Corporation | Multiple-use priority network |
4766536, | Apr 19 1984 | Rational | Computer bus apparatus with distributed arbitration |
4920486, | Nov 23 1987 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Distributed arbitration apparatus and method for shared bus |
4926419, | Mar 15 1985 | LG Electronics Inc | Priority apparatus |
4953081, | Dec 21 1988 | International Business Machines Corporation | Least recently used arbiter with programmable high priority mode and performance monitor |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Oct 22 1991 | Hewlett Packard Company | (assignment on the face of the patent) | / | |||
May 20 1998 | Hewlett-Packard Company | Hewlett-Packard Company | MERGER SEE DOCUMENT FOR DETAILS | 011523 | /0469 |
Date | Maintenance Fee Events |
Sep 21 1995 | ASPN: Payor Number Assigned. |
Mar 28 1996 | M183: Payment of Maintenance Fee, 4th Year, Large Entity. |
Mar 28 2000 | M184: Payment of Maintenance Fee, 8th Year, Large Entity. |
Mar 29 2004 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Sep 29 1995 | 4 years fee payment window open |
Mar 29 1996 | 6 months grace period start (w surcharge) |
Sep 29 1996 | patent expiry (for year 4) |
Sep 29 1998 | 2 years to revive unintentionally abandoned end. (for year 4) |
Sep 29 1999 | 8 years fee payment window open |
Mar 29 2000 | 6 months grace period start (w surcharge) |
Sep 29 2000 | patent expiry (for year 8) |
Sep 29 2002 | 2 years to revive unintentionally abandoned end. (for year 8) |
Sep 29 2003 | 12 years fee payment window open |
Mar 29 2004 | 6 months grace period start (w surcharge) |
Sep 29 2004 | patent expiry (for year 12) |
Sep 29 2006 | 2 years to revive unintentionally abandoned end. (for year 12) |