A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: iga1401399015853
Ixiasoft
Visible to Intel only — GUID: iga1401399015853
Ixiasoft
14.2. Functional Description
Offset | Register Name | R/W | Bit Description | ||
---|---|---|---|---|---|
31 16 | 15 1 | 0 | |||
0 | mutex | RW | OWNER | VALUE | |
1 | reset | RW | Reserved | RESET |
The mutex core has the following basic behavior. This description assumes there are multiple processors accessing a single mutex core, and each processor has a unique identifier (ID).
- When the VALUE field is 0x0000, the mutex is unlocked and available. Otherwise, the mutex is locked and unavailable.
- The mutex register is always readable. Avalon® -MM host peripherals, such as a processor, can read the mutex register to determine its current state.
- The mutex register is writable only under specific conditions. A write operation changes the mutex register only if one or both of the following conditions are true:
- The VALUE field of the mutex register is zero.
- The OWNER field of the mutex register matches the OWNER field in the data to be written.
- A processor attempts to acquire the mutex by writing its ID to the OWNER field, and writing a non-zero value to the VALUE field. The processor then checks if the acquisition succeeded by verifying the OWNER field.
- After system reset, the RESET bit in the reset register is high. Writing a one to this bit clears it.