ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data
Declaration
typedef void* ADMXRC_IMAGE;
Description
An ADMXRC_IMAGE variable holds a Xilinx bitstream file (.BIT) loaded from disk.
ADMXRC_LoadFpgaFile and ADMXRC_UnloadFpgaFile can be used to load a Xilinx bitstream into an ADMXRC_IMAGE variable. As ADMXRC2_LoadFpgaFile allocates memory to hold the data, it is the application's responsibility to free the memory when no longer required using ADMXRC_UnloadFpgaFile.
The ADMXRC_FindImageOffset function should be used to find the beginning of SelectMap data within a loaded bitstream, and its bit-order must be reversed with ADMXRC_ReverseBytes before using it to configure the FPGA using ADMXRC_ConfigureFromBuffer or ADMXRC_ConfigureFromBufferDMA.