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.
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.