Method and apparatus for multi-core on-chip semaphore
OwnerMichael C. Sedmakinventor
Life of this patent
Estimating the term…
Abstract
A method and apparatus for implementing a semaphore on a multi-core processor including a central arbitration unit (CAU) connected to each core thereof. The scheme involves, for each core, outputting a first signal from the core to the CAU to request access to a common resource to perform an operation; and responsive to receipt of a second signal from the CAU, the core performing the operation.
Claims21
A method of implementing a semaphore on a multi-core processor for controlling access to a common resource, the multi-core processor including a central arbitration unit connected to each core thereof, the method comprising, for each core:
- outputting a first signal from the core to the CAU to request access to the common resource to perform an operation;
- and
- responsive to receipt of a second signal from the CAU, the core performing the operation.
A method of implementing a semaphore on a multi-core processor integrated circuit (“IC”) chip for controlling access to a common resource, wherein the IC chip includes a central arbitration unit connected to each core of the IC chip and each core of the IC chip includes a control register comprising a grant field and a request field, the method comprising the steps, for each core of the IC chip:
- the core writing a first value to the request field to request access to the common resource, whereupon the on-chip CAU outputs a second value to the core to grant access to the common resource to the core or a third value to deny access to the common resource to the core;
- and
- the core writing a fourth value in the request field to zero to relinquish control of the common resource.
Apparatus for implementing a semaphore on a multi-core processor integrated circuit (“IC”) chip for controlling access to a common resource of the IC chip, the apparatus comprising:
- an on-chip central arbitration unit (“CAU”), wherein each core of the IC chip is connected to the CAU via a respective request line and a respective grant line;
- and
- an on-chip register associated with each core, the register including a request field and a grant field,
- wherein a core outputs a first signal on its request line by setting its request field to a particular value to request access to the common resource to perform an operation in connection therewith, checks its grant line subsequent to the step of setting, and performs the operation if a second signal is received on its grant line.
Dependencies are inferred from the claim text.