Go to the source code of this file.
◆ ENTERUSER
◆ PROGRAM
◆ RUNTEST_FINISH_CYCLES
#define RUNTEST_FINISH_CYCLES 100 |
◆ RUNTEST_START_CYCLES
#define RUNTEST_START_CYCLES 100 |
◆ TRAILING_ZEROS
#define TRAILING_ZEROS 4000 |
◆ USER1
◆ USER2
◆ USER3
◆ USER4
◆ efinix_family_e
Enumerator |
---|
EFINIX_TRION | |
EFINIX_TITANIUM | |
EFINIX_UNKNOWN | |
Definition at line 24 of file efinix.c.
◆ efinix_get_ipdbg_hub()
Definition at line 207 of file efinix.c.
References pld_device::driver_priv, EFINIX_TITANIUM, EFINIX_UNKNOWN, ERROR_FAIL, ERROR_OK, efinix_pld_device::family, LOG_ERROR, efinix_pld_device::tap, pld_ipdbg_hub::tap, USER1, USER2, USER3, USER4, and pld_ipdbg_hub::user_ir_code.
◆ efinix_get_jtagspi_userircode()
static int efinix_get_jtagspi_userircode |
( |
struct pld_device * |
pld_device, |
|
|
unsigned int * |
ir |
|
) |
| |
|
static |
◆ efinix_load()
static int efinix_load |
( |
struct pld_device * |
pld_device, |
|
|
const char * |
filename |
|
) |
| |
|
static |
Definition at line 140 of file efinix.c.
References raw_bit_file::data, pld_device::driver_priv, efinix_read_file(), efinix_set_instr(), ENTERUSER, ERROR_FAIL, ERROR_OK, flip_u32(), scan_field::in_value, jtag_add_dr_scan(), jtag_add_runtest(), jtag_add_tlr(), jtag_execute_queue(), raw_bit_file::length, LOG_ERROR, NULL, scan_field::num_bits, scan_field::out_value, PROGRAM, RUNTEST_FINISH_CYCLES, RUNTEST_START_CYCLES, efinix_pld_device::tap, TAP_DRPAUSE, TAP_IDLE, and TRAILING_ZEROS.
◆ efinix_read_bit_file()
static int efinix_read_bit_file |
( |
struct raw_bit_file * |
bit_file, |
|
|
const char * |
filename |
|
) |
| |
|
static |
◆ efinix_read_file()
static int efinix_read_file |
( |
struct raw_bit_file * |
bit_file, |
|
|
const char * |
filename |
|
) |
| |
|
static |
◆ efinix_set_instr()
static int efinix_set_instr |
( |
struct jtag_tap * |
tap, |
|
|
uint8_t |
new_instr |
|
) |
| |
|
static |
Definition at line 123 of file efinix.c.
References buf_set_u32(), DIV_ROUND_UP, ERROR_FAIL, ERROR_OK, scan_field::in_value, jtag_tap::ir_length, jtag_add_ir_scan(), LOG_ERROR, NULL, scan_field::num_bits, scan_field::out_value, and TAP_IDLE.
Referenced by efinix_load().
◆ PLD_CREATE_COMMAND_HANDLER()
PLD_CREATE_COMMAND_HANDLER |
( |
efinix_pld_create_command |
| ) |
|
◆ efinix_pld
Initial value:= {
.name = "efinix",
.pld_create_command = &efinix_pld_create_command,
}
static int efinix_load(struct pld_device *pld_device, const char *filename)
static int efinix_get_jtagspi_userircode(struct pld_device *pld_device, unsigned int *ir)
static int efinix_get_ipdbg_hub(int user_num, struct pld_device *pld_device, struct pld_ipdbg_hub *hub)
Definition at line 258 of file efinix.c.