xilinx_bit.c File Reference
Include dependency graph for xilinx_bit.c:

Go to the source code of this file.


static int read_section (FILE *input_file, int length_size, char section, uint32_t *buffer_length, uint8_t **buffer)
int xilinx_read_bit_file (struct xilinx_bit_file *bit_file, const char *filename)

Function Documentation

static int read_section ( FILE *  input_file,
int  length_size,
char  section,
uint32_t *  buffer_length,
uint8_t **  buffer 

Definition at line 30 of file xilinx_bit.c.

References be_to_h_u16(), be_to_h_u32(), ERROR_OK, ERROR_PLD_FILE_LOAD_FAILED, length, and LOG_ERROR.

Referenced by xilinx_read_bit_file().