Go to the source code of this file.
◆ BYPASS
◆ USER0
◆ USER1
◆ intel_family_e
Enumerator |
---|
INTEL_CYCLONEIII | |
INTEL_CYCLONEIV | |
INTEL_CYCLONEV | |
INTEL_CYCLONE10 | |
INTEL_ARRIAII | |
INTEL_UNKNOWN | |
Definition at line 24 of file intel.c.
◆ COMMAND_HANDLER() [1/2]
COMMAND_HANDLER |
( |
intel_set_bscan_command_handler |
| ) |
|
Definition at line 239 of file intel.c.
References intel_pld_device::boundary_scan_length, CMD, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, command_print(), pld_device::driver_priv, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, and get_pld_device_by_name_or_numstr().
◆ COMMAND_HANDLER() [2/2]
COMMAND_HANDLER |
( |
intel_set_check_pos_command_handler |
| ) |
|
Definition at line 264 of file intel.c.
References intel_pld_device::checkpos, CMD, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, command_print(), pld_device::driver_priv, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, and get_pld_device_by_name_or_numstr().
◆ intel_check_config()
◆ intel_get_ipdbg_hub()
◆ intel_get_jtagspi_userircode()
static int intel_get_jtagspi_userircode |
( |
struct pld_device * |
pld_device, |
|
|
unsigned int * |
ir |
|
) |
| |
|
static |
◆ intel_load()
static int intel_load |
( |
struct pld_device * |
pld_device, |
|
|
const char * |
filename |
|
) |
| |
|
static |
Definition at line 93 of file intel.c.
References adapter_get_speed_khz(), intel_pld_device::boundary_scan_length, BYPASS, intel_pld_device::checkpos, raw_bit_file::data, DIV_ROUND_UP, pld_device::driver_priv, ERROR_FAIL, ERROR_OK, intel_pld_device::family, scan_field::in_value, INTEL_ARRIAII, intel_check_config(), INTEL_CYCLONE10, INTEL_CYCLONEIII, INTEL_CYCLONEIV, INTEL_CYCLONEV, intel_read_file(), intel_set_instr(), INTEL_UNKNOWN, jtag_add_dr_scan(), jtag_add_runtest(), jtag_execute_queue(), raw_bit_file::length, LOG_ERROR, LOG_INFO, NULL, scan_field::num_bits, scan_field::out_value, intel_pld_device::tap, TAP_DRPAUSE, and TAP_IDLE.
◆ intel_read_file()
static int intel_read_file |
( |
struct raw_bit_file * |
bit_file, |
|
|
const char * |
filename |
|
) |
| |
|
static |
◆ intel_set_instr()
static int intel_set_instr |
( |
struct jtag_tap * |
tap, |
|
|
uint16_t |
new_instr |
|
) |
| |
|
static |
Definition at line 75 of file intel.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 intel_load().
◆ PLD_CREATE_COMMAND_HANDLER()
PLD_CREATE_COMMAND_HANDLER |
( |
intel_pld_create_command |
| ) |
|
◆ intel_command_handler
Initial value:= {
{
.name = "intel",
.help = "intel specific commands",
.usage = "",
},
}
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
static const struct command_registration intel_exec_command_handlers[]
Definition at line 289 of file intel.c.
◆ intel_exec_command_handlers
Initial value:= {
{
.name = "set_bscan",
.handler = intel_set_bscan_command_handler,
.help = "set boundary scan register length of FPGA",
.usage = "pld_name len",
}, {
.name = "set_check_pos",
.handler = intel_set_check_pos_command_handler,
.help = "set check_pos of FPGA",
.usage = "pld_name pos",
},
}
Definition at line 289 of file intel.c.
◆ intel_pld
Initial value:= {
.name = "intel",
.pld_create_command = &intel_pld_create_command,
}
static int intel_load(struct pld_device *pld_device, const char *filename)
static int intel_get_jtagspi_userircode(struct pld_device *pld_device, unsigned int *ir)
static const struct command_registration intel_command_handler[]
static int intel_get_ipdbg_hub(int user_num, struct pld_device *pld_device, struct pld_ipdbg_hub *hub)
Definition at line 289 of file intel.c.