This API is to set up AI Engine partition instance location and size.
Note: If this API is not
called, the AI Engine partition instance uses
the base address and the number of columns from the device config
(
XAie_Config
), and the start column is 0 by default. This function
do not verify the PartBaseAddr
, PartStartCol
, or the
PartNumcols
. The PartStartCol
and the
PartNumCols
validate in
XAie_CfgInitialize()
. This function is supposed to be called before
XAie_CfgInitialize()
. Prototype
AieRC XAie_ClearTransaction(XAie_DevInst *DevInst);
Parameters
The following table lists the XAie_ClearTransaction
function arguments.
Type | Member | Description |
---|---|---|
Commented parameter Inst does not exist in function XAie_ClearTransaction. | Inst | Pointer of AI Engine partition instance |
Commented parameter PartBaseAddr does not exist in function XAie_ClearTransaction. | PartBaseAddr | Partition base address |
Commented parameter PartStartCol does not exist in function XAie_ClearTransaction. | PartStartCol | Absolute partition start column |
Commented parameter PartNumCols does not exist in function XAie_ClearTransaction. | PartNumCols | Number of columns of the partition |
Returns
XAIE_OK