XFpga_PL_BitStream_Load - 2020.2 English

OS and Libraries Document Collection (UG643)

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

The API is used to load the bitstream/PDI file into the PL region.

Prototype

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

Parameters

The following table lists the XFpga_PL_BitStream_Load function arguments.

Table 1. XFpga_PL_BitStream_Load 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_SUCCESS on success
  • Error code on failure.