Device and method for sharing resource via bus
AssigneeSamsung Electronics Co., Ltd.
InventorDongsik CHO
Life of this patent
Estimating the term…
Abstract
The device described herein, which provides an interface between a plurality of master devices and a slave device, includes: a first timer configured to begin timing when a first access request is received from a first master device via a bus, and to be reset when a semaphore is allocated to the first master device; a second timer configured to begin timing when a second access request is received from a second master device via the bus, and to be reset when a semaphore is allocated to the second master device; and a controller configured to provide a first message to the first master device via the bus when a first expiration interval is measured by the first timer.
Claims18
A system comprising:
- a bus;
- a resource sharing interface connected to the bus;
- a slave connected to the resource sharing interface;
- and
- a plurality of masters each configured to transmit a request for accessing the slave to the resource sharing interface through the bus,
- wherein the resource sharing interface is configured to measure a first time from when a first request is received from a first master of the plurality of masters, to identify a first throttle interval corresponding to the first master, and to allocate a semaphore to the first master based on at least one of the first time and the first throttle interval.
A method for providing an interface between a plurality of masters and a slave, the method comprising:
- receiving a first request for accessing the slave from a first master of the plurality of masters through a bus;
- receiving a second request for accessing the slave from a second master of the plurality of masters through the bus;
- measuring a first time from when the first request is received;
- measuring a second time from when the second request is received;
- identifying a first throttle interval corresponding to the first master;
- identifying a second throttle interval corresponding to the second master;
- and
- allocating a semaphore to one of the first master and the second master based on at least one of the first time, the first throttle interval, the second time, and the second throttle interval.
A system comprising:
- a bus;
- a resource sharing interface connected to the bus;
- a slave connected to the resource sharing interface;
- and
- a plurality of masters each configured to transmit a request for accessing the slave to the resource sharing interface through the bus,
- wherein the resource sharing interface is configured to identify a first expiration interval corresponding to a first master of the plurality of masters, and to measure a first time from when a first request is received from the first master, and
- wherein the resource sharing interface is further configured to provide a first message indicating a failure of allocating the semaphore to the first master when the first time reaches the first expiration interval,
- wherein the resource sharing interface is further configured to identify a first throttle interval corresponding to the first master, and to provide a second message to the first master when the first time reaches the first throttle interval, and
- wherein the first master is configured to be interrupted in response to the second message.
Dependencies are inferred from the claim text.