Method and apparatus for resource arbitration
First Claim
1. An arbiter for controlling access to a shared resource by at least two devices, the arbiter including:
- a set of control bits for each of the at least two devices, each set of control bits accessible by the associated one of the at least two devices, and including a request bit and a grant bit;
arbitration logic, coupled to the sets of control bits, for controlling access to the shared resource, the arbitration logic operating responsive to the request bits for each of the at least two devices to set the grant bit of one of the at least two devices according to an arbitration protocol, wherein the set of control bits further includes an override bit for enabling a first one of the at least two devices to take control of the shared resource away from a second one of the at least two device.
9 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus is described for controlling accesses to a shared resource. An arbitration mechanism uses a register, accessible by each device sharing the resource. The register may be written by the device to request access to the resource, and read by the device to determine whether access to the resource has been granted. Advantageously, the register includes an override bit, which may be used by either device to override the peer device'"'"'s request for the shared resource. In addition, the register includes a reset bit that may be used to reset arbitration logic controlling the access to the shared logic. The register is used by a straightforward arbitration mechanism that includes only IDLE and GRANT states for each device coupled to the shared resource. Such an arrangement provides a low cost method of controlling accesses to a shared resource.
38 Citations
9 Claims
-
1. An arbiter for controlling access to a shared resource by at least two devices, the arbiter including:
-
a set of control bits for each of the at least two devices, each set of control bits accessible by the associated one of the at least two devices, and including a request bit and a grant bit; arbitration logic, coupled to the sets of control bits, for controlling access to the shared resource, the arbitration logic operating responsive to the request bits for each of the at least two devices to set the grant bit of one of the at least two devices according to an arbitration protocol, wherein the set of control bits further includes an override bit for enabling a first one of the at least two devices to take control of the shared resource away from a second one of the at least two device. - View Dependent Claims (2)
-
-
3. An arbiter for controlling access to a shared resource by at least two devices, the arbiter including:
-
a set of control bits for each of the at least two devices, each set of control bits accessible by the associated one of the at least two devices, and including a request bit and a grant bit; arbitration logic, coupled to the sets of control bits, for controlling access to the shared resource, the arbitration logic operating responsive to the request bits for each of the at least two devices to set the grant bit of one of the at least two devices according to an arbitration protocol, wherein the arbiter further includes a mux, coupled between the at least two devices and the shared resource and wherein the set of control bits further includes a reset bit for resetting the mux. - View Dependent Claims (4, 5, 6)
-
-
7. A method for controlling access to a shared resource by at least two devices, the method including the steps of
selecting, responsive to a set of control bits associated with at least two devices coupled to the shared resource, one of the at least two devices for access to the shared resource, wherein the set of control bits includes a request bit and a grant bit for each one of the at least two devices; - and
a first one of the at least two devices taking control of the shared resource away from a second one of the at least two devices by setting an override bit associated with the first one of the at least two devices. - View Dependent Claims (8)
- and
-
9. A method for controlling access to a shared resource among a first device and a second device, the method including an arbitration process having a first device idle state, a first device grant state, a second device idle state and a second device grant state, the method including the steps of:
-
the first device requesting access to the shared resource; granting access to the first device and transitioning the arbitration process from a first device idle state to a first device grant state in response to the first device requesting access to the shared resource and an override bit that enables the first device to control the shared resource.
-
Specification