This function is used to validate the bitstream image.
Prototype
u32 XFpga_ValidateImage(XFpga *InstancePtr, UINTPTR BitstreamImageAddr, UINTPTR KeyAddr, u32 Size, u32 Flags);
Parameters
The following table lists the XFpga_ValidateImage function arguments.
| Type | Name | Description |
|---|---|---|
| XFpga * | InstancePtr | Pointer to the XFpga structure |
| UINTPTR | BitstreamImageAddr | Linear memory bitstream image base address |
| UINTPTR | KeyAddr | Aes key address which is used for decryption. |
| u32 | Size | Used to store size of bitstream image. |
| u32 | Flags |
Flags are used to specify the type of bitstream file.
|