This is the global initialization function for all the tiles of the AIE array The function sets up the Device Instance pointer with the appropriate values from the ConfigPtr.
Note: This function needs
to be called before calling any other AI Engine functions. After this function, as all tiles are gated
after system boots, XAie_PmRequestTiles() needs to be called before calling other
functions, otherwise, other functions can access gated tiles.
Prototype
AieRC XAie_CfgInitialize(XAie_DevInst *InstPtr, XAie_Config *ConfigPtr);
Parameters
The following table lists the XAie_CfgInitialize
function arguments.
Type | Member | Description |
---|---|---|
XAie_DevInst * | InstPtr | Global AIE instance structure. |
XAie_Config * | ConfigPtr | Global AIE configuration pointer. |
Returns
XAIE_OK
on success and error code on
failure.