XAie_CfgInitialize - 2024.1 English - UG1642

AI Engine System Software Driver Reference Manual (UG1642)

Document ID
UG1642
Release Date
2024-05-30
Version
2024.1 English

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.

Table 1. XAie_CfgInitialize 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.