![]() |
aiengine
Xilinx SDK Drivers API Documentation
|
This file contains routines for Event handling.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 Hyun 10/02/2018 Initial creation 1.1 Hyun 10/10/2018 Use the mask write API 1.2 Nishad 12/05/2018 Renamed ME attributes to AIE 1.3 Hyun 12/13/2018 Add the core event API 1.4 Jubaer 02/14/2019 Add get Event Broadcast API 1.5 Jubaer 02/26/2019 Add group Event API 1.6 Jubaer 03/01/2019 Add Combo Event API 1.7 Jubaer 04/17/2019 Add Stream Switch Event Port Selection API 1.8 Tejus 09/05/2019 Fix compiler warnings
XAieGbl_Config | XAieGbl_ConfigTable [] |
The configuration table for each AIE device. More... | |
u32 | XAieTileMem_EventBroadcastBlockValue (XAieGbl_Tile *TileInstPtr, u8 Dir) |
This API returns the current event broadcast block value for memory module. More... | |
u32 | XAieTilePl_EventBroadcastBlockValue (XAieGbl_Tile *TileInstPtr, u8 Dir, u8 SwitchAB) |
This API returns the current event broadcast block value for PL module. More... | |
u32 | XAieTileCore_EventBroadcastBlockValue (XAieGbl_Tile *TileInstPtr, u8 Dir) |
This API returns the current event broadcast block value for Core module. More... | |
u8 | XAieTileMem_EventBroadcastBlockClear (XAieGbl_Tile *TileInstPtr, u8 Dir, u16 Mask) |
This API clears the current event broadcast block value for Memory module. More... | |
u8 | XAieTilePl_EventBroadcastBlockClear (XAieGbl_Tile *TileInstPtr, u8 Dir, u8 SwitchAB, u16 Mask) |
This API clears the current event broadcast block value for PL module. More... | |
u8 | XAieTileCore_EventBroadcastBlockClear (XAieGbl_Tile *TileInstPtr, u8 Dir, u16 Mask) |
This API clears the current event broadcast block value for Core module. More... | |
u8 | XAieTileMem_EventBroadcastBlockSet (XAieGbl_Tile *TileInstPtr, u8 Dir, u16 Mask) |
This API sets the current event broadcast block value for memory module. More... | |
u8 | XAieTilePl_EventBroadcastBlockSet (XAieGbl_Tile *TileInstPtr, u8 Dir, u8 SwitchAB, u16 Mask) |
This API sets the current event broadcast block value for PL module. More... | |
u8 | XAieTileCore_EventBroadcastBlockSet (XAieGbl_Tile *TileInstPtr, u8 Dir, u16 Mask) |
This API sets the current event broadcast block value for Core module. More... | |
u8 | XAieTileMem_EventBroadcast (XAieGbl_Tile *TileInstPtr, u8 BroadcastId, u8 Event) |
This API sets the event to the given broadcast ID for memory module. More... | |
u8 | XAieTilePl_EventBroadcast (XAieGbl_Tile *TileInstPtr, u8 BroadcastId, u8 Event) |
This API sets the event to the given broadcast ID for PL module. More... | |
u8 | XAieTileCore_EventBroadcast (XAieGbl_Tile *TileInstPtr, u8 BroadcastId, u8 Event) |
This API sets the event to the given broadcast ID for Core module. More... | |
u8 | XAieTileMem_EventGenerate (XAieGbl_Tile *TileInstPtr, u8 Event) |
This API sets the memory module to generate an internal event of . More... | |
u8 | XAieTilePl_EventGenerate (XAieGbl_Tile *TileInstPtr, u8 Event) |
This API sets the PL module to generate an internal event of . More... | |
u8 | XAieTileCore_EventGenerate (XAieGbl_Tile *TileInstPtr, u8 Event) |
This API sets the Core module to generate an internal event of . More... | |
u8 | XAieTileMem_EventTraceControl (XAieGbl_Tile *TileInstPtr, u8 StartEvent, u8 StopEvent, u8 Id, u8 Packet) |
This API sets the trace control of Memory module. More... | |
u8 | XAieTilePl_EventTraceControl (XAieGbl_Tile *TileInstPtr, u8 StartEvent, u8 StopEvent, u8 Id, u8 Packet) |
This API sets the trace control of PL module. More... | |
u8 | XAieTileCore_EventTraceControl (XAieGbl_Tile *TileInstPtr, u8 Mode, u8 StartEvent, u8 StopEvent, u8 Id, u8 Packet) |
This API sets the trace control of Core module. More... | |
u8 | XAieTileMem_EventTraceEventWriteId (XAieGbl_Tile *TileInstPtr, u8 Event, u8 Idx) |
This API sets the event trace of Memory module. More... | |
u8 | XAieTilePl_EventTraceEventWriteId (XAieGbl_Tile *TileInstPtr, u8 Event, u8 Idx) |
This API sets the event trace of PL module. More... | |
u8 | XAieTileCore_EventTraceEventWriteId (XAieGbl_Tile *TileInstPtr, u8 Event, u8 Idx) |
This API sets the event trace of Core module. More... | |
u8 | XAieTileMem_EventTraceEventWrite (XAieGbl_Tile *TileInstPtr, XAie_TraceEvents *TraceEvents) |
This API sets multiple event traces of Memory module. More... | |
u8 | XAieTilePl_EventTraceEventWrite (XAieGbl_Tile *TileInstPtr, XAie_TraceEvents *TraceEvents) |
This API sets multiple event traces of PL module. More... | |
u8 | XAieTileCore_EventTraceEventWrite (XAieGbl_Tile *TileInstPtr, XAie_TraceEvents *TraceEvents) |
This API sets multiple event traces of Core module. More... | |
u8 | XAieTile_EventTraceEventAdd (XAieGbl_Tile *TileInstPtr, XAie_TraceEvents *TraceEvents, u8 Idx, u8 Event) |
This API adds an event to TraceEvents. More... | |
u8 | XAieTile_EventTraceEventInit (XAieGbl_Tile *TileInstPtr, XAie_TraceEvents *TraceEvents) |
This API initializes TraceEvents. More... | |
u8 | XAieTileCore_EventPCEvent (XAieGbl_Tile *TileInstPtr, u8 PCEvent, u16 PCAddr, u8 Valid) |
This API sets the PC event for core module. More... | |
u32 | XAieTile_MemEventBroadcastGet (XAieGbl_Tile *TileInstPtr, u8 BroadcastId) |
This API gets the event to the given broadcast ID for memory module. More... | |
u32 | XAieTile_PlEventBroadcastGet (XAieGbl_Tile *TileInstPtr, u8 BroadcastId) |
This API gets the event to the given broadcast ID for PL module. More... | |
u32 | XAieTile_CoreEventBroadcastGet (XAieGbl_Tile *TileInstPtr, u8 BroadcastId) |
This API gets the event to the given broadcast ID for Core module. More... | |
u32 | XAieTile_MemEventStatusGet (XAieGbl_Tile *TileInstPtr, u8 Event) |
This API returns the event status correspond to the Memory module event. More... | |
u32 | XAieTile_PlEventStatusGet (XAieGbl_Tile *TileInstPtr, u8 Event) |
This API returns the event status correspond to the PL module event. More... | |
u32 | XAieTile_CoreEventStatusGet (XAieGbl_Tile *TileInstPtr, u8 Event) |
This API returns the event status correspond to the Core Module event. More... | |
void | XAieTile_MemEventStatusClear (XAieGbl_Tile *TileInstPtr, u8 Event, u32 Mask) |
This API clears the event status correspond to the Memory module event. More... | |
void | XAieTile_PlEventStatusClear (XAieGbl_Tile *TileInstPtr, u8 Event, u32 Mask) |
This API clears the event status correspond to the PL module event. More... | |
void | XAieTile_CoreEventStatusClear (XAieGbl_Tile *TileInstPtr, u8 Event, u32 Mask) |
This API clears the event status correspond to the Core Module event. More... | |
u8 | XAieGbl_CoreEventBroadcastColumn (XAieGbl_Tile *TileInstPtr, u8 BroadcastId, u8 Event) |
This API sets the event to the given broadcast ID for given Core module Column. More... | |
u8 | XAieGbl_MemEventBroadcastColumn (XAieGbl_Tile *TileInstPtr, u8 BroadcastId, u8 Event) |
This API sets the event to the given broadcast ID for memory module for given Column. More... | |
u8 | XAieGbl_CoreEventBroadcastBlockClearColumn (XAieGbl_Tile *TileInstPtr, u8 Dir, u16 Mask) |
This API clears the current event broadcast block value for Core module for given Column. More... | |
u8 | XAieGbl_MemEventBroadcastBlockClearColumn (XAieGbl_Tile *TileInstPtr, u8 Dir, u16 Mask) |
This API clears the current event broadcast block value for memory module for given Column. More... | |
u8 | XAieGbl_Column_EventBroadcastBlockAll (XAieGbl_Tile *TileInstPtr) |
This API set all signals blocks in the given Column. More... | |
u32 | XAieTile_MemGroupEventGet (XAieGbl_Tile *TileInstPtr, u8 groupId) |
This API is used to read the Group Event register of the corresponding group. More... | |
u32 | XAieTile_PlGroupEventGet (XAieGbl_Tile *TileInstPtr, u8 groupId) |
This API is used to read the Group Event register of the corresponding group. More... | |
u32 | XAieTile_CoreGroupEventGet (XAieGbl_Tile *TileInstPtr, u8 groupId) |
This API is used to read the Group Event register of the corresponding group. More... | |
void | XAieTile_MemGroupEventSet (XAieGbl_Tile *TileInstPtr, u8 groupId, u32 Mask) |
This API is used to set the Group Event register of the corresponding group. More... | |
void | XAieTile_PlGroupEventSet (XAieGbl_Tile *TileInstPtr, u8 groupId, u32 Mask) |
This API is used to set the Group Event register of the corresponding group. More... | |
void | XAieTile_CoreGroupEventSet (XAieGbl_Tile *TileInstPtr, u8 groupId, u32 Mask) |
This API is used to set the Group Event register of the corresponding group. More... | |
u32 | XAieTile_MemComboEventInputGet32 (XAieGbl_Tile *TileInstPtr) |
This API returns the event values of the Memory Combo Event inputs. More... | |
u32 | XAieTile_PlComboEventInputGet32 (XAieGbl_Tile *TileInstPtr) |
This API returns the event values of the PL Combo Event inputs. More... | |
u32 | XAieTile_CoreComboEventInputGet32 (XAieGbl_Tile *TileInstPtr) |
This API returns the event values of the Core Combo Event inputs. More... | |
void | XAieTile_MemComboEventInputSet32 (XAieGbl_Tile *TileInstPtr, u32 Event) |
This API sets the event values of the Memory Combo Event inputs. More... | |
void | XAieTile_PlComboEventInputSet32 (XAieGbl_Tile *TileInstPtr, u32 Event) |
This API sets the event values of the PL Combo Event inputs. More... | |
void | XAieTile_CoreComboEventInputSet32 (XAieGbl_Tile *TileInstPtr, u32 Event) |
This API sets the event values of the Core Combo Event inputs. More... | |
u32 | XAieTile_MemComboEventControlGet32 (XAieGbl_Tile *TileInstPtr) |
This API returns the event values of the Memory Combo Event Control. More... | |
u32 | XAieTile_PlComboEventControlGet32 (XAieGbl_Tile *TileInstPtr) |
This API returns the event values of the PL Combo Event Control. More... | |
u32 | XAieTile_CoreComboEventControlGet32 (XAieGbl_Tile *TileInstPtr) |
This API returns the event values of the Core Combo Event Control. More... | |
void | XAieTile_MemComboEventControlSet32 (XAieGbl_Tile *TileInstPtr, u32 Combo) |
This API sets the event values of the Memory Combo Event Control. More... | |
void | XAieTile_PlComboEventControlSet32 (XAieGbl_Tile *TileInstPtr, u32 Combo) |
This API sets the event values of the PL Combo Event Control. More... | |
void | XAieTile_CoreComboEventControlSet32 (XAieGbl_Tile *TileInstPtr, u32 Combo) |
This API sets the event values of the Core Combo Event Control. More... | |
void | XAieTile_MemComboEventInputSet (XAieGbl_Tile *TileInstPtr, u8 eventA, u8 eventB, u8 eventC, u8 eventD) |
This API sets the values of the memory Combo Event inputs. More... | |
void | XAieTile_PlComboEventInputSet (XAieGbl_Tile *TileInstPtr, u8 eventA, u8 eventB, u8 eventC, u8 eventD) |
This API sets the values of the PL Combo Event inputs. More... | |
void | XAieTile_CoreComboEventInputSet (XAieGbl_Tile *TileInstPtr, u8 eventA, u8 eventB, u8 eventC, u8 eventD) |
This API sets the values of the Core Combo Event inputs. More... | |
u8 | XAieTile_MemComboEventInputGet (XAieGbl_Tile *TileInstPtr, u8 eventIdx) |
This API sets the values of the Memory Combo Event inputs. More... | |
u8 | XAieTile_PlComboEventInputGet (XAieGbl_Tile *TileInstPtr, u8 eventIdx) |
This API sets the values of the PL Combo Event inputs. More... | |
u8 | XAieTile_CoreComboEventInputGet (XAieGbl_Tile *TileInstPtr, u8 eventIdx) |
This API sets the values of the Core Combo Event inputs. More... | |
void | XAieTile_MemComboEventControlSet (XAieGbl_Tile *TileInstPtr, u8 combo0, u8 combo1, u8 combo2) |
This API sets the values of the memory Combo Event control. More... | |
void | XAieTile_PlComboEventControlSet (XAieGbl_Tile *TileInstPtr, u8 combo0, u8 combo1, u8 combo2) |
This API sets the values of the PL Combo Event control. More... | |
void | XAieTile_CoreComboEventControlSet (XAieGbl_Tile *TileInstPtr, u8 combo0, u8 combo1, u8 combo2) |
This API sets the values of the Core Combo Event control. More... | |
u8 | XAieTile_MemComboEventControlGet (XAieGbl_Tile *TileInstPtr, u8 comboIdx) |
This API returns the values of the memory Combo Event control. More... | |
u8 | XAieTile_PlComboEventControlGet (XAieGbl_Tile *TileInstPtr, u8 comboIdx) |
This API returns the values of the PL Combo Event control. More... | |
u8 | XAieTile_CoreComboEventControlGet (XAieGbl_Tile *TileInstPtr, u8 comboIdx) |
This API returns the values of the Core Combo Event control. More... | |
u8 | XAieTile_CoreStrmSwEventPortSelectGet (XAieGbl_Tile *TileInstPtr, u8 PortNo) |
This API returns the port ID selected on the given PortNo for Core module: More... | |
u8 | XAieTile_PlStrmSwEventPortSelectGet (XAieGbl_Tile *TileInstPtr, u8 PortNo) |
This API returns the port ID selected on the given PortNo for PL module: More... | |
u8 | XAieTile_CoreStrmSwEventPortSelectSet (XAieGbl_Tile *TileInstPtr, u8 PortNo, u8 PortType, u8 PortID) |
This API sets the port ID on the given PortNo for Core module: More... | |
u8 | XAieTile_PlStrmSwEventPortSelectSet (XAieGbl_Tile *TileInstPtr, u8 PortNo, u8 PortType, u8 PortID) |
This API sets the port ID on the given PortNo for PL module: More... | |
u32 | XAieTile_CoreStrmSwEventPortSelectGet32 (XAieGbl_Tile *TileInstPtr, u8 SelectID) |
This API returns 32-bit register value of the Stream Switch Event Port Selection (0/1) register for core module. More... | |
u32 | XAieTile_PlStrmSwEventPortSelectGet32 (XAieGbl_Tile *TileInstPtr, u8 SelectID) |
This API returns 32-bit register value of the Stream Switch Event Port Selection (0/1) register for PL module. More... | |
u8 | XAieTile_CoreStrmSwEventPortSelectSet32 (XAieGbl_Tile *TileInstPtr, u8 SelectID, u32 RegVal) |
This API sets the 32-bit register value of the Stream Switch Event Port Selection register for core module. More... | |
u8 | XAieTile_PlStrmSwEventPortSelectSet32 (XAieGbl_Tile *TileInstPtr, u8 SelectID, u32 RegVal) |
This API sets the 32-bit register value of the Stream Switch Event Port Selection register for PL module. More... | |
u8 XAieGbl_Column_EventBroadcastBlockAll | ( | XAieGbl_Tile * | TileInstPtr | ) |
This API set all signals blocks in the given Column.
TileInstPtr | - Pointer to the Tile instance. This has to be the shim tile of the corresponding column. |
References XAieGbl_Config::NumRows, XAieGbl_Tile::RowId, XAieGbl_Tile::TileType, XAieTileCore_EventBroadcastBlockSet(), XAieTileMem_EventBroadcastBlockSet(), and XAieTilePl_EventBroadcastBlockSet().
u8 XAieGbl_CoreEventBroadcastBlockClearColumn | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Dir, | ||
u16 | Mask | ||
) |
This API clears the current event broadcast block value for Core module for given Column.
TileInstPtr | - Pointer to the Tile instance. This has to be the shim tile of the corresponding column. |
Dir | - Direction. Should be one of XAIETILE_EVENT_BLOCK_SOUTH, XAIETILE_EVENT_BLOCK_WEST, XAIETILE_EVENT_BLOCK_NORTH, or XAIETILE_EVENT_BLOCK_EAST. |
Mask | - Mask with bits to clear |
References XAieGbl_Config::NumRows, XAieGbl_Tile::RowId, XAieGbl_Tile::TileType, and XAieTileCore_EventBroadcastBlockClear().
u8 XAieGbl_CoreEventBroadcastColumn | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | BroadcastId, | ||
u8 | Event | ||
) |
This API sets the event to the given broadcast ID for given Core module Column.
TileInstPtr | - Pointer to the Tile instance. This has to be the shim tile of the corresponding column. |
BroadcastId | - Broadcast ID. 0 to 15. |
Event | - Event ID. One of XAIETILE_EVENT_CORE_* |
References XAieGbl_Config::NumRows, XAieGbl_Tile::RowId, XAieGbl_Tile::TileType, and XAieTileCore_EventBroadcast().
u8 XAieGbl_MemEventBroadcastBlockClearColumn | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Dir, | ||
u16 | Mask | ||
) |
This API clears the current event broadcast block value for memory module for given Column.
TileInstPtr | - Pointer to the Tile instance. This has to be the shim tile of the corresponding column. |
Dir | - Direction. Should be one of XAIETILE_EVENT_BLOCK_SOUTH, XAIETILE_EVENT_BLOCK_WEST, XAIETILE_EVENT_BLOCK_NORTH, or XAIETILE_EVENT_BLOCK_EAST. |
Mask | - Mask with bits to clear |
References XAieGbl_Config::NumRows, XAieGbl_Tile::RowId, XAieGbl_Tile::TileType, and XAieTileMem_EventBroadcastBlockClear().
u8 XAieGbl_MemEventBroadcastColumn | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | BroadcastId, | ||
u8 | Event | ||
) |
This API sets the event to the given broadcast ID for memory module for given Column.
TileInstPtr | - Pointer to the Tile instance. This has to be the shim tile of the corresponding column. |
BroadcastId | - Broadcast ID. 0 to 15. |
Event | - Event ID. One of XAIETILE_EVENT_CORE_* |
References XAieGbl_Config::NumRows, XAieGbl_Tile::RowId, XAieGbl_Tile::TileType, and XAieTileMem_EventBroadcast().
u8 XAieTile_CoreComboEventControlGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | comboIdx | ||
) |
This API returns the values of the Core Combo Event control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0).
TileInstPtr | - Pointer to the Tile instance. |
comboIdx | - Combo index. One of XAIETILE_COMBO_0, XAIETILE_COMBO_1, XAIETILE_COMBO_2. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_CoreComboEventControlGet32 | ( | XAieGbl_Tile * | TileInstPtr | ) |
This API returns the event values of the Core Combo Event Control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0).
TileInstPtr | - Pointer to the Tile instance. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_CoreComboEventControlSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | combo0, | ||
u8 | combo1, | ||
u8 | combo2 | ||
) |
This API sets the values of the Core Combo Event control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0). To keep an entry unaltered pass value greater than 3.
TileInstPtr | - Pointer to the Tile instance. |
combo0 | - control value for combo0. |
combo1 | - control value for combo1. |
combo2 | - control value for combo2. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_CoreComboEventControlSet32 | ( | XAieGbl_Tile * | TileInstPtr, |
u32 | Combo | ||
) |
This API sets the event values of the Core Combo Event Control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0).
TileInstPtr | - Pointer to the Tile instance. |
Combo | - Combination of event combo. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTile_CoreComboEventInputGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | eventIdx | ||
) |
This API sets the values of the Core Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0).
TileInstPtr | - Pointer to the Tile instance. |
eventIdx | - Event Index. One of XAIETILE_COMBO_EVENT_A, XAIETILE_COMBO_EVENT_B, XAIETILE_COMBO_EVENT_C, XAIETILE_COMBO_EVENT_D. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_CoreComboEventInputGet32 | ( | XAieGbl_Tile * | TileInstPtr | ) |
This API returns the event values of the Core Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0).
TileInstPtr | - Pointer to the Tile instance. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_CoreComboEventInputSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | eventA, | ||
u8 | eventB, | ||
u8 | eventC, | ||
u8 | eventD | ||
) |
This API sets the values of the Core Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0). To keep an entry unaltered pass 8 bit value.
TileInstPtr | - Pointer to the Tile instance. |
eventA | - Event Number. One of XAIETILE_EVENT_CORE_* |
eventB | - Event Number. One of XAIETILE_EVENT_CORE_* |
eventC | - Event Number. One of XAIETILE_EVENT_CORE_* |
eventD | - Event Number. One of XAIETILE_EVENT_CORE_* |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_CoreComboEventInputSet32 | ( | XAieGbl_Tile * | TileInstPtr, |
u32 | Event | ||
) |
This API sets the event values of the Core Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0).
TileInstPtr | - Pointer to the Tile instance. |
Event | - 32 bit combination of Event numbers. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_CoreEventBroadcastGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | BroadcastId | ||
) |
This API gets the event to the given broadcast ID for Core module.
TileInstPtr | - Pointer to the Tile instance. |
BroadcastId | - Broadcast ID. 0 to 15. |
References XAieGbl_RegEventBroadcast::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_CoreEventStatusClear | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event, | ||
u32 | Mask | ||
) |
This API clears the event status correspond to the Core Module event.
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID. One of XAIETILE_EVENT_CORE_* |
Mask | - Bits to clear. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_CoreEventStatusGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event | ||
) |
This API returns the event status correspond to the Core Module event.
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID. One of XAIETILE_EVENT_CORE_* |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_CoreGroupEventGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | groupId | ||
) |
This API is used to read the Group Event register of the corresponding group.
TileInstPtr | - Pointer to the Tile instance. This has to be the shim tile of the corresponding column. |
groupId | - Group Event ID for Core. This will be one of XAIETILE_GROUP_EVENT_CORE_* |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_CoreGroupEventSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | groupId, | ||
u32 | Mask | ||
) |
This API is used to set the Group Event register of the corresponding group.
TileInstPtr | - Pointer to the Tile instance. This has to be the shim tile of the corresponding column. |
groupId | - Group Event ID for Core. This will be one of XAIETILE_GROUP_EVENT_CORE_* |
Mask | - 32 bit value to mask. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTile_CoreStrmSwEventPortSelectGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | PortNo | ||
) |
This API returns the port ID selected on the given PortNo for Core module:
TileInstPtr | - Pointer to the Tile instance. |
PortNo | - Port index. One of XAIETILE_STRSW_EVENT_PORT_0, XAIETILE_STRSW_EVENT_PORT_1, XAIETILE_STRSW_EVENT_PORT_2, XAIETILE_STRSW_EVENT_PORT_3, XAIETILE_STRSW_EVENT_PORT_4, XAIETILE_STRSW_EVENT_PORT_5, XAIETILE_STRSW_EVENT_PORT_6, XAIETILE_STRSW_EVENT_PORT_7. |
References XAieGbl_RegStrmSwEventPortSelect::RegAddr, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_CoreStrmSwEventPortSelectGet32 | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | SelectID | ||
) |
This API returns 32-bit register value of the Stream Switch Event Port Selection (0/1) register for core module.
(batch read)
TileInstPtr | - Pointer to the Tile instance. |
SelectID | - register index (0 - Selection_0, 1 - Selection_1). |
References XAieGbl_RegStrmSwEventPortSelect::RegAddr, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTile_CoreStrmSwEventPortSelectSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | PortNo, | ||
u8 | PortType, | ||
u8 | PortID | ||
) |
This API sets the port ID on the given PortNo for Core module:
TileInstPtr | - Pointer to the Tile instance. |
PortNo | -Port index. One of XAIETILE_STRSW_EVENT_PORT_0, XAIETILE_STRSW_EVENT_PORT_1, XAIETILE_STRSW_EVENT_PORT_2, XAIETILE_STRSW_EVENT_PORT_3. XAIETILE_STRSW_EVENT_PORT_4, XAIETILE_STRSW_EVENT_PORT_5, XAIETILE_STRSW_EVENT_PORT_6, XAIETILE_STRSW_EVENT_PORT_7. |
PortType | - Type of the port. (master = 1, slave = 0) |
PortID | - port ID selected. |
References XAieGbl_RegFldAttr::Mask, XAieGbl_RegStrmSwEventPortSelect::PortIndex, XAieGbl_RegStrmSwEventPortSelect::PortMode, XAieGbl_RegStrmSwEventPortSelect::RegAddr, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTile_CoreStrmSwEventPortSelectSet32 | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | SelectID, | ||
u32 | RegVal | ||
) |
This API sets the 32-bit register value of the Stream Switch Event Port Selection register for core module.
(batch write)
TileInstPtr | - Pointer to the Tile instance. |
SelectID | - register index (0 - Selection_0, 1 - Selection_1). |
RegVal | - 32 bit value to be written. |
References XAieGbl_RegStrmSwEventPortSelect::RegAddr, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTile_EventTraceEventAdd | ( | XAieGbl_Tile * | TileInstPtr, |
XAie_TraceEvents * | TraceEvents, | ||
u8 | Idx, | ||
u8 | Event | ||
) |
This API adds an event to TraceEvents.
TileInstPtr | - Pointer to the Tile instance. |
TraceEvents | - Where event trace is queued |
Idx | - Trace ID to add an event to. |
Event | - Event ID |
u8 XAieTile_EventTraceEventInit | ( | XAieGbl_Tile * | TileInstPtr, |
XAie_TraceEvents * | TraceEvents | ||
) |
This API initializes TraceEvents.
TileInstPtr | - Pointer to the Tile instance. |
TraceEvents | - Where event trace is queued |
u8 XAieTile_MemComboEventControlGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | comboIdx | ||
) |
This API returns the values of the memory Combo Event control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0).
TileInstPtr | - Pointer to the Tile instance. |
comboIdx | - Combo index. One of XAIETILE_COMBO_0, XAIETILE_COMBO_1, XAIETILE_COMBO_2. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_MemComboEventControlGet32 | ( | XAieGbl_Tile * | TileInstPtr | ) |
This API returns the event values of the Memory Combo Event Control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0).
TileInstPtr | - Pointer to the Tile instance. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_MemComboEventControlSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | combo0, | ||
u8 | combo1, | ||
u8 | combo2 | ||
) |
This API sets the values of the memory Combo Event control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0). To keep an entry unaltered pass value greater than 3.
TileInstPtr | - Pointer to the Tile instance. |
combo0 | - control value for combo0. |
combo1 | - control value for combo1. |
combo2 | - control value for combo2. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_MemComboEventControlSet32 | ( | XAieGbl_Tile * | TileInstPtr, |
u32 | Combo | ||
) |
This API sets the event values of the Memory Combo Event Control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0).
TileInstPtr | - Pointer to the Tile instance. |
Combo | - Combination of event combo. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTile_MemComboEventInputGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | eventIdx | ||
) |
This API sets the values of the Memory Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0).
TileInstPtr | - Pointer to the Tile instance. |
eventIdx | - Event Index. One of XAIETILE_COMBO_EVENT_A, XAIETILE_COMBO_EVENT_B, XAIETILE_COMBO_EVENT_C, XAIETILE_COMBO_EVENT_D. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_MemComboEventInputGet32 | ( | XAieGbl_Tile * | TileInstPtr | ) |
This API returns the event values of the Memory Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0).
TileInstPtr | - Pointer to the Tile instance. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_MemComboEventInputSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | eventA, | ||
u8 | eventB, | ||
u8 | eventC, | ||
u8 | eventD | ||
) |
This API sets the values of the memory Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0). To keep an entry unaltered pass 8 bit value.
TileInstPtr | - Pointer to the Tile instance. |
eventA | - Event Number. One of XAIETILE_EVENT_MEM_* |
eventB | - Event Number. One of XAIETILE_EVENT_MEM_* |
eventC | - Event Number. One of XAIETILE_EVENT_MEM_* |
eventD | - Event Number. One of XAIETILE_EVENT_MEM_* |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_MemComboEventInputSet32 | ( | XAieGbl_Tile * | TileInstPtr, |
u32 | Event | ||
) |
This API sets the event values of the Memory Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0).
TileInstPtr | - Pointer to the Tile instance. |
Event | - 32 bit combination of Event numbers. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_MemEventBroadcastGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | BroadcastId | ||
) |
This API gets the event to the given broadcast ID for memory module.
TileInstPtr | - Pointer to the Tile instance. |
BroadcastId | - Broadcast ID. 0 to 15. |
References XAieGbl_RegEventBroadcast::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_MemEventStatusClear | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event, | ||
u32 | Mask | ||
) |
This API clears the event status correspond to the Memory module event.
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID. One of XAIETILE_EVENT_CORE_* |
Mask | - value with to clear the bits. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_MemEventStatusGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event | ||
) |
This API returns the event status correspond to the Memory module event.
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID. One of XAIETILE_EVENT_CORE_* |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_MemGroupEventGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | groupId | ||
) |
This API is used to read the Group Event register of the corresponding group.
TileInstPtr | - Pointer to the Tile instance. This has to be the shim tile of the corresponding column. |
groupId | - Group Event ID for Memory. This will be One of XAIETILE_GROUP_EVENT_MEM_* |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_MemGroupEventSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | groupId, | ||
u32 | Mask | ||
) |
This API is used to set the Group Event register of the corresponding group.
TileInstPtr | - Pointer to the Tile instance. This has to be the shim tile of the corresponding column. |
groupId | - Group Event ID for Memory. This will be one of XAIETILE_GROUP_EVENT_MEM_* |
Mask | - 32 bit value to mask. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTile_PlComboEventControlGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | comboIdx | ||
) |
This API returns the values of the PL Combo Event control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0).
TileInstPtr | - Pointer to the Tile instance. |
comboIdx | - Combo index. One of XAIETILE_COMBO_0, XAIETILE_COMBO_1, XAIETILE_COMBO_2. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_PlComboEventControlGet32 | ( | XAieGbl_Tile * | TileInstPtr | ) |
This API returns the event values of the PL Combo Event Control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0).
TileInstPtr | - Pointer to the Tile instance. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_PlComboEventControlSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | combo0, | ||
u8 | combo1, | ||
u8 | combo2 | ||
) |
This API sets the values of the PL Combo Event control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0). To keep an entry unaltered pass value greater than 3.
TileInstPtr | - Pointer to the Tile instance. |
combo0 | - control value for combo0. |
combo1 | - control value for combo1. |
combo2 | - control value for combo2. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_PlComboEventControlSet32 | ( | XAieGbl_Tile * | TileInstPtr, |
u32 | Combo | ||
) |
This API sets the event values of the PL Combo Event Control.
Bit map: combo2 (17 : 16), combo1 (9 : 8), combo0 (1 : 0).
TileInstPtr | - Pointer to the Tile instance. |
Combo | - Combination of event combo. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTile_PlComboEventInputGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | eventIdx | ||
) |
This API sets the values of the PL Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0).
TileInstPtr | - Pointer to the Tile instance. |
eventIdx | - Event Index. One of XAIETILE_COMBO_EVENT_A, XAIETILE_COMBO_EVENT_B, XAIETILE_COMBO_EVENT_C, XAIETILE_COMBO_EVENT_D. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_PlComboEventInputGet32 | ( | XAieGbl_Tile * | TileInstPtr | ) |
This API returns the event values of the PL Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0).
TileInstPtr | - Pointer to the Tile instance. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_PlComboEventInputSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | eventA, | ||
u8 | eventB, | ||
u8 | eventC, | ||
u8 | eventD | ||
) |
This API sets the values of the PL Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0). To keep an entry unaltered pass 8 bit value.
TileInstPtr | - Pointer to the Tile instance. |
eventA | - Event Number. One of XAIETILE_EVENT_PL_* |
eventB | - Event Number. One of XAIETILE_EVENT_PL_* |
eventC | - Event Number. One of XAIETILE_EVENT_PL_* |
eventD | - Event Number. One of XAIETILE_EVENT_PL_* |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_PlComboEventInputSet32 | ( | XAieGbl_Tile * | TileInstPtr, |
u32 | Event | ||
) |
This API sets the event values of the PL Combo Event inputs.
Bit map: eventD (30 : 24), eventC (22 : 16), eventB (14 : 8), eventA (6 : 0).
TileInstPtr | - Pointer to the Tile instance. |
Event | - 32 bit combination of Event numbers. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_PlEventBroadcastGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | BroadcastId | ||
) |
This API gets the event to the given broadcast ID for PL module.
TileInstPtr | - Pointer to the Tile instance. |
BroadcastId | - Broadcast ID. 0 to 15. |
References XAieGbl_RegEventBroadcast::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_PlEventStatusClear | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event, | ||
u32 | Mask | ||
) |
This API clears the event status correspond to the PL module event.
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID. One of XAIETILE_EVENT_CORE_* |
Mask | - Bits to clear. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_PlEventStatusGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event | ||
) |
This API returns the event status correspond to the PL module event.
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID. One of XAIETILE_EVENT_CORE_* |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_PlGroupEventGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | groupId | ||
) |
This API is used to read the Group Event register of the corresponding group.
TileInstPtr | - Pointer to the Tile instance. This has to be the shim tile of the corresponding column. |
groupId | - Group Event ID for PL. This will be one of XAIETILE_GROUP_EVENT_PL_* |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
void XAieTile_PlGroupEventSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | groupId, | ||
u32 | Mask | ||
) |
This API is used to set the Group Event register of the corresponding group.
TileInstPtr | - Pointer to the Tile instance. This has to be the shim tile of the corresponding column. |
groupId | - Group Event ID for PL. This will be one of XAIETILE_GROUP_EVENT_PL_* |
Mask | - 32 bit value to mask. |
References XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTile_PlStrmSwEventPortSelectGet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | PortNo | ||
) |
This API returns the port ID selected on the given PortNo for PL module:
TileInstPtr | - Pointer to the Tile instance. |
PortNo | - Port index. One of XAIETILE_STRSW_EVENT_PORT_0, XAIETILE_STRSW_EVENT_PORT_1, XAIETILE_STRSW_EVENT_PORT_2, XAIETILE_STRSW_EVENT_PORT_3. XAIETILE_STRSW_EVENT_PORT_4, XAIETILE_STRSW_EVENT_PORT_5, XAIETILE_STRSW_EVENT_PORT_6, XAIETILE_STRSW_EVENT_PORT_7. |
References XAieGbl_RegStrmSwEventPortSelect::RegAddr, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u32 XAieTile_PlStrmSwEventPortSelectGet32 | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | SelectID | ||
) |
This API returns 32-bit register value of the Stream Switch Event Port Selection (0/1) register for PL module.
(batch read)
TileInstPtr | - Pointer to the Tile instance. |
SelectID | - register index (0 - Selection_0, 1 - Selection_1). |
References XAieGbl_RegStrmSwEventPortSelect::RegAddr, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTile_PlStrmSwEventPortSelectSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | PortNo, | ||
u8 | PortType, | ||
u8 | PortID | ||
) |
This API sets the port ID on the given PortNo for PL module:
TileInstPtr | - Pointer to the Tile instance. |
PortNo | -Port index. One of XAIETILE_STRSW_EVENT_PORT_0, XAIETILE_STRSW_EVENT_PORT_1, XAIETILE_STRSW_EVENT_PORT_2, XAIETILE_STRSW_EVENT_PORT_3. XAIETILE_STRSW_EVENT_PORT_4, XAIETILE_STRSW_EVENT_PORT_5, XAIETILE_STRSW_EVENT_PORT_6, XAIETILE_STRSW_EVENT_PORT_7. |
PortType | - Type of the port. (master = 1, slave = 0) |
PortID | - port ID selected. |
References XAieGbl_RegFldAttr::Mask, XAieGbl_RegStrmSwEventPortSelect::PortIndex, XAieGbl_RegStrmSwEventPortSelect::PortMode, XAieGbl_RegStrmSwEventPortSelect::RegAddr, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTile_PlStrmSwEventPortSelectSet32 | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | SelectID, | ||
u32 | RegVal | ||
) |
This API sets the 32-bit register value of the Stream Switch Event Port Selection register for PL module.
(batch write)
TileInstPtr | - Pointer to the Tile instance. |
SelectID | - register index (0 - Selection_0, 1 - Selection_1). |
RegVal | - 32 bit value to be written. |
References XAieGbl_RegStrmSwEventPortSelect::RegAddr, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTileCore_EventBroadcast | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | BroadcastId, | ||
u8 | Event | ||
) |
This API sets the event to the given broadcast ID for Core module.
TileInstPtr | - Pointer to the Tile instance. |
BroadcastId | - Broadcast ID. 0 to 15. |
Event | - Event ID. One of XAIETILE_EVENT_CORE_* |
References XAieGbl_RegEventBroadcast::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
Referenced by XAieGbl_CoreEventBroadcastColumn().
u8 XAieTileCore_EventBroadcastBlockClear | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Dir, | ||
u16 | Mask | ||
) |
This API clears the current event broadcast block value for Core module.
TileInstPtr | - Pointer to the Tile instance. |
Dir | - Direction. Should be one of XAIETILE_EVENT_BLOCK_SOUTH, XAIETILE_EVENT_BLOCK_WEST, XAIETILE_EVENT_BLOCK_NORTH, or XAIETILE_EVENT_BLOCK_EAST. |
Mask | - Mask with bits to clear |
References XAieGbl_RegEventBroadcastClear::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
Referenced by XAieGbl_CoreEventBroadcastBlockClearColumn().
u8 XAieTileCore_EventBroadcastBlockSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Dir, | ||
u16 | Mask | ||
) |
This API sets the current event broadcast block value for Core module.
TileInstPtr | - Pointer to the Tile instance. |
Dir | - Direction. Should be one of XAIETILE_EVENT_BLOCK_SOUTH, XAIETILE_EVENT_BLOCK_WEST, XAIETILE_EVENT_BLOCK_NORTH, or XAIETILE_EVENT_BLOCK_EAST. |
Mask | - Mask with bits to set |
References XAieGbl_RegEventBroadcastSet::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
Referenced by XAieGbl_Column_EventBroadcastBlockAll().
u32 XAieTileCore_EventBroadcastBlockValue | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Dir | ||
) |
This API returns the current event broadcast block value for Core module.
TileInstPtr | - Pointer to the Tile instance. |
Dir | - Direction. Should be one of XAIETILE_EVENT_BLOCK_SOUTH, XAIETILE_EVENT_BLOCK_WEST, XAIETILE_EVENT_BLOCK_NORTH, or XAIETILE_EVENT_BLOCK_EAST. |
References XAieGbl_RegEventBroadcastValue::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTileCore_EventGenerate | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event | ||
) |
This API sets the Core module to generate an internal event of .
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID. One of XAIETILE_EVENT_CORE_* |
References XAieGbl_RegEventGenerate::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTileCore_EventPCEvent | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | PCEvent, | ||
u16 | PCAddr, | ||
u8 | Valid | ||
) |
This API sets the PC event for core module.
TileInstPtr | - Pointer to the Tile instance with core module. |
PCEvent | - which PC event to set. Should be one of XAIETILE_EVENT_CORE_PC_EVENT0, XAIETILE_EVENT_CORE_PC_EVENT1, XAIETILE_EVENT_CORE_PC_EVENT2, or XAIETILE_EVENT_CORE_PC_EVENT3. |
PCAddr | - PC address to generate an event |
Valid | - Valid bit. Should be 0 or 1. |
References XAieGbl_RegFldAttr::Mask, XAieGbl_RegCorePCEvent::PCAddr, XAieGbl_RegCorePCEvent::RegOff, XAieGbl_Tile::TileAddr, XAieGbl_Tile::TileType, and XAieGbl_RegCorePCEvent::Valid.
u8 XAieTileCore_EventTraceControl | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Mode, | ||
u8 | StartEvent, | ||
u8 | StopEvent, | ||
u8 | Id, | ||
u8 | Packet | ||
) |
This API sets the trace control of Core module.
TileInstPtr | - Pointer to the Tile instance. |
Mode | - Trace mode: Should be XAIETILE_EVENT_MODE_EVENT_TIME, XAIETILE_EVENT_MODE_EVENT_PC, or XAIETILE_EVENT_MODE_EXECUTION. |
StartEvent | - Event to start |
StopEvent | - Event to stop |
Id | - Packet ID |
Packet | - Packet type |
References XAieGbl_Tile::TileType.
u8 XAieTileCore_EventTraceEventWrite | ( | XAieGbl_Tile * | TileInstPtr, |
XAie_TraceEvents * | TraceEvents | ||
) |
This API sets multiple event traces of Core module.
TileInstPtr | - Pointer to the Tile instance. |
TraceEvents | - Events to trace. |
References XAieGbl_Tile::TileType.
u8 XAieTileCore_EventTraceEventWriteId | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event, | ||
u8 | Idx | ||
) |
This API sets the event trace of Core module.
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID |
Idx | - Trace ID. 0 to 7. |
References XAieGbl_Tile::TileType.
u8 XAieTileMem_EventBroadcast | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | BroadcastId, | ||
u8 | Event | ||
) |
This API sets the event to the given broadcast ID for memory module.
TileInstPtr | - Pointer to the Tile instance. |
BroadcastId | - Broadcast ID. 0 to 15. |
Event | - Event ID. One of XAIETILE_EVENT_MEM_* |
References XAieGbl_RegEventBroadcast::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
Referenced by XAieGbl_MemEventBroadcastColumn().
u8 XAieTileMem_EventBroadcastBlockClear | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Dir, | ||
u16 | Mask | ||
) |
This API clears the current event broadcast block value for Memory module.
TileInstPtr | - Pointer to the Tile instance. |
Dir | - Direction. Should be one of XAIETILE_EVENT_BLOCK_SOUTH, XAIETILE_EVENT_BLOCK_WEST, XAIETILE_EVENT_BLOCK_NORTH, or XAIETILE_EVENT_BLOCK_EAST. |
Mask | - Mask with bits to clear |
References XAieGbl_RegEventBroadcastClear::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
Referenced by XAieGbl_MemEventBroadcastBlockClearColumn().
u8 XAieTileMem_EventBroadcastBlockSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Dir, | ||
u16 | Mask | ||
) |
This API sets the current event broadcast block value for memory module.
TileInstPtr | - Pointer to the Tile instance. |
Dir | - Direction. Should be one of XAIETILE_EVENT_BLOCK_SOUTH, XAIETILE_EVENT_BLOCK_WEST, XAIETILE_EVENT_BLOCK_NORTH, or XAIETILE_EVENT_BLOCK_EAST. |
Mask | - Mask with bits to set |
References XAieGbl_RegEventBroadcastSet::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
Referenced by XAieGbl_Column_EventBroadcastBlockAll().
u32 XAieTileMem_EventBroadcastBlockValue | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Dir | ||
) |
This API returns the current event broadcast block value for memory module.
TileInstPtr | - Pointer to the Tile instance. |
Dir | - Direction. Should be one of XAIETILE_EVENT_BLOCK_SOUTH, XAIETILE_EVENT_BLOCK_WEST, XAIETILE_EVENT_BLOCK_NORTH, or XAIETILE_EVENT_BLOCK_EAST. |
References XAieGbl_RegEventBroadcastValue::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTileMem_EventGenerate | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event | ||
) |
This API sets the memory module to generate an internal event of .
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID. One of XAIETILE_EVENT_MEM_* |
References XAieGbl_RegEventGenerate::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTileMem_EventTraceControl | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | StartEvent, | ||
u8 | StopEvent, | ||
u8 | Id, | ||
u8 | Packet | ||
) |
This API sets the trace control of Memory module.
TileInstPtr | - Pointer to the Tile instance. |
StartEvent | - Event to start |
StopEvent | - Event to stop |
Id | - Packet ID |
Packet | - Packet type |
References XAieGbl_Tile::TileType.
u8 XAieTileMem_EventTraceEventWrite | ( | XAieGbl_Tile * | TileInstPtr, |
XAie_TraceEvents * | TraceEvents | ||
) |
This API sets multiple event traces of Memory module.
TileInstPtr | - Pointer to the Tile instance. |
TraceEvents | - Events to trace. |
References XAieGbl_Tile::TileType.
u8 XAieTileMem_EventTraceEventWriteId | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event, | ||
u8 | Idx | ||
) |
This API sets the event trace of Memory module.
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID |
Idx | - Trace ID. 0 to 7. |
References XAieGbl_Tile::TileType.
u8 XAieTilePl_EventBroadcast | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | BroadcastId, | ||
u8 | Event | ||
) |
This API sets the event to the given broadcast ID for PL module.
TileInstPtr | - Pointer to the Tile instance. |
BroadcastId | - Broadcast ID. 0 to 15. |
Event | - Event ID. One of XAIETILE_EVENT_PL_* |
References XAieGbl_RegEventBroadcast::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTilePl_EventBroadcastBlockClear | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Dir, | ||
u8 | SwitchAB, | ||
u16 | Mask | ||
) |
This API clears the current event broadcast block value for PL module.
TileInstPtr | - Pointer to the Tile instance. |
Dir | - Direction. Should be one of XAIETILE_EVENT_BLOCK_SOUTH, XAIETILE_EVENT_BLOCK_WEST, XAIETILE_EVENT_BLOCK_NORTH, or XAIETILE_EVENT_BLOCK_EAST. |
SwitchAB | - Flag to indicate if it's the A or B block. Should be one of XAIETILE_EVENT_BLOCK_SWITCHA or XAIETILE_EVENT_BLOCK_SWITCHB. |
Mask | - Mask with bits to clear |
References XAieGbl_RegEventBroadcastClear::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTilePl_EventBroadcastBlockSet | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Dir, | ||
u8 | SwitchAB, | ||
u16 | Mask | ||
) |
This API sets the current event broadcast block value for PL module.
TileInstPtr | - Pointer to the Tile instance. |
Dir | - Direction. Should be one of XAIETILE_EVENT_BLOCK_SOUTH, XAIETILE_EVENT_BLOCK_WEST, XAIETILE_EVENT_BLOCK_NORTH, or XAIETILE_EVENT_BLOCK_EAST. |
SwitchAB | - Flag to indicate if it's the A or B block. Should be one of XAIETILE_EVENT_BLOCK_SWITCHA or XAIETILE_EVENT_BLOCK_SWITCHB. |
Mask | - Mask with bits to set |
References XAieGbl_RegEventBroadcastSet::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
Referenced by XAieGbl_Column_EventBroadcastBlockAll().
u32 XAieTilePl_EventBroadcastBlockValue | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Dir, | ||
u8 | SwitchAB | ||
) |
This API returns the current event broadcast block value for PL module.
TileInstPtr | - Pointer to the Tile instance. |
Dir | - Direction. Should be one of XAIETILE_EVENT_BLOCK_SOUTH, XAIETILE_EVENT_BLOCK_WEST, XAIETILE_EVENT_BLOCK_NORTH, or XAIETILE_EVENT_BLOCK_EAST. |
SwitchAB | - Flag to indicate if it's the A or B block. Should be one of XAIETILE_EVENT_BLOCK_SWITCHA or XAIETILE_EVENT_BLOCK_SWITCHB. |
References XAieGbl_RegEventBroadcastValue::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTilePl_EventGenerate | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event | ||
) |
This API sets the PL module to generate an internal event of .
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID. One of XAIETILE_EVENT_PL_* |
References XAieGbl_RegEventGenerate::RegOff, XAieGbl_Tile::TileAddr, and XAieGbl_Tile::TileType.
u8 XAieTilePl_EventTraceControl | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | StartEvent, | ||
u8 | StopEvent, | ||
u8 | Id, | ||
u8 | Packet | ||
) |
This API sets the trace control of PL module.
TileInstPtr | - Pointer to the Tile instance. |
StartEvent | - Event to start |
StopEvent | - Event to stop |
Id | - Packet ID |
Packet | - Packet type |
References XAieGbl_Tile::TileType.
u8 XAieTilePl_EventTraceEventWrite | ( | XAieGbl_Tile * | TileInstPtr, |
XAie_TraceEvents * | TraceEvents | ||
) |
This API sets multiple event traces of PL module.
TileInstPtr | - Pointer to the Tile instance. |
TraceEvents | - Events to trace. |
References XAieGbl_Tile::TileType.
u8 XAieTilePl_EventTraceEventWriteId | ( | XAieGbl_Tile * | TileInstPtr, |
u8 | Event, | ||
u8 | Idx | ||
) |
This API sets the event trace of PL module.
TileInstPtr | - Pointer to the Tile instance. |
Event | - Event ID |
Idx | - Trace ID. 0 to 7. |
References XAieGbl_Tile::TileType.
XAieGbl_Config XAieGbl_ConfigTable[] |
The configuration table for each AIE device.
XAIE_BASE_ARRAY_ADDR_OFFSET macro defines the AI Engine's base address offset value.