Cypress Semiconductor NoBL CY7C1472V33 Guía de usuario Pagina 39

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 57
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 38
ZestSC1 User Guide
CONFIDENTIAL Page 39 of 57
ZestSC1ConfigureFromFile
ZESTSC1_STATUS ZestSC1ConfigureFromFile(ZESTSC1_HANDLE Handle,
char *FileName);
Parameters
Handle Handle of open ZestSC1 card. See ZestSC1OpenCard.
FileName Name of .bit file to use to configure the FPGA.
Return Value
ZESTSC1_SUCCESS Function succeeded
ZESTSC1_ILLEGAL_HANDLE Attempt to use illegal card handle
ZESTSC1_NULL_PARAMETER NULL was used illegally as one of the
parameter values
ZESTSC1_FILE_NOT_FOUND File not found
ZESTSC1_FILE_ERROR Error while reading file
ZESTSC1_OUT_OF_MEMORY Not enough memory to complete the
requested operation
ZESTSC1_ILLEGAL_FILE File format is not recognised
ZESTSC1_INVALID_PART_TYPE Illegal FPGA part type
ZESTSC1_INTERNAL_ERROR An unspecified internal error occurred while
communicating with the driver
ZESTSC1_TIMEOUT Operation timed out
Description
ZestSC1ConfigureFromFile can be used to configure the FPGA on the ZestSC1 card
from a .bit file generated by the Xilinx place and route software. It configures the FPGA
directly from the file on disk. Refer to ZestSC1RegisterImage and ZestSC1Configure
for details of how to configure the FPGA from configuration data in memory.
For example:
ZESTSC1_HANDLE Handle;
/* Open a card with ID of 1 */
ZestSC1OpenCard(1, &Handle);
/* Configure the FPGA from a .bit file */
ZestSC1ConfigureFromFile(Handle, “test.bit”);
Vista de pagina 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 56 57

Comentarios a estos manuales

Sin comentarios