XFpga_PL_ValidateImage - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 English

This function is used to validate the input params and the Bitstream Image.

Prototype

u32 XFpga_PL_ValidateImage(XFpga *InstancePtr, UINTPTR BitstreamImageAddr, u32 INTPTR AddrPtr_Size, u32 Flags);

Parameters

The following table lists the XFpga_PL_ValidateImage function arguments.

Table 1. XFpga_PL_ValidateImage Arguments
Type Name Description
XFpga * InstancePtr Pointer to the XFgpa structure
UINTPTR BitstreamImageAddr Linear memory Bitstream image base address
UINTPTR AddrPtr_Size Used to store the size of Bitstream Image
u32 Flags Optional for Versal

Returns

  • XFPGA_VALIDATE_ERROR
  • XFPGA_OPS_NOT_IMPLEMENTED
Note: This API doesn’t contain any bitstream image validation functionality with the current version of XilFPGA and it returns xFPGA_VALIDATE_ERROR incase of input parameters validation failure and XFPGA_OPS_NOT_IMPLEMENTED in all other cases.