program_device
Program Efinix FPGAs by loading bitstreams into SRAM over JTAG or writing configuration data to SPI flash using active, passive, or JTAG bridge modes.
Instructions
Program an Efinix FPGA through the Efinity command-line programmer.
mode:
jtag / jtag_chain - load a .bit into the FPGA's SRAM over JTAG (lost at power-off)
active / passive - write a .hex to SPI configuration flash (or SPI passive load)
jtag_bridge(_x8) - write a .hex to configuration flash through the FPGA's JTAG bridge
Flash modes overwrite what the board boots from, so confirm with the user first.
Give either project (uses its outflow .bit/.hex) or an explicit file.
url / board_profile select a cable when several are attached (see list_programmer_cables).
chain_device_number picks the device for jtag_chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| file | No | ||
| mode | No | jtag | |
| project | No | ||
| wait_seconds | No | ||
| board_profile | No | ||
| jtag_clock_hz | No | ||
| verify_method | No | ||
| chain_device_number | No |