xilfpga
Vitis Drivers API Documentation

Functions

u32 XFpga_GetPlConfigData (XFpga *InstancePtr, UINTPTR ReadbackAddr, u32 NumFrames)
 This function provides functionality to read back the PL configuration data. More...
 
u32 XFpga_GetPlConfigReg (XFpga *InstancePtr, UINTPTR ReadbackAddr, u32 ConfigRegAddr)
 This function provides PL specific configuration register values. More...
 
u32 XFpga_InterfaceStatus (XFpga *InstancePtr)
 This function provides the status of the PL programming interface. More...
 

Function Documentation

u32 XFpga_GetPlConfigData ( XFpga InstancePtr,
UINTPTR  ReadbackAddr,
u32  NumFrames 
)

This function provides functionality to read back the PL configuration data.

Parameters
InstancePtrPointer to the XFpga structure
ReadbackAddrAddress which is used to store the PL readback data.
NumFramesThe number of FPGA configuration frames to read.
Returns
  • XFPGA_SUCCESS, if successful
  • XFPGA_FAILURE, if unsuccessful
  • XFPGA_OPS_NOT_IMPLEMENTED, if implementation not exists.
Note
  • This API is not supported for the Versal platform.

References XFpgatag::ReadInfo, and XFpgatag::XFpga_GetConfigData.

u32 XFpga_GetPlConfigReg ( XFpga InstancePtr,
UINTPTR  ReadbackAddr,
u32  ConfigRegAddr 
)

This function provides PL specific configuration register values.

Parameters
InstancePtrPointer to the XFpga structure
ReadbackAddrAddress which is used to store the PL Configuration register data.
ConfigRegAddrConfiguration register address as mentioned in the UG570.
Returns
  • XFPGA_SUCCESS if, successful
  • XFPGA_FAILURE if, unsuccessful
  • XFPGA_OPS_NOT_IMPLEMENTED, if implementation not exists.
Note
  • This API is not supported for the Versal platform.

References XFpgatag::ReadInfo, and XFpgatag::XFpga_GetConfigReg.

u32 XFpga_InterfaceStatus ( XFpga InstancePtr)

This function provides the status of the PL programming interface.

Parameters
InstancePtrPointer to the XFpga structure
Returns
Status of the PL programming interface
Note
  • This API is not supported for the Versal platform.

References XFpgatag::XFpga_GetInterfaceStatus.