OpenOCD
|
Go to the source code of this file.
Functions | |
COMMAND_HANDLER (virtex2_handle_read_stat_command) | |
PLD_DEVICE_COMMAND_HANDLER (virtex2_pld_device_command) | |
static int | virtex2_load (struct pld_device *pld_device, const char *filename) |
static int | virtex2_read_stat (struct pld_device *pld_device, uint32_t *status) |
static int | virtex2_receive_32 (struct pld_device *pld_device, int num_words, uint32_t *words) |
static int | virtex2_send_32 (struct pld_device *pld_device, int num_words, uint32_t *words) |
static int | virtex2_set_instr (struct jtag_tap *tap, uint32_t new_instr) |
static void | virtexflip32 (jtag_callback_data_t arg) |
Variables | |
static const struct command_registration | virtex2_command_handler [] |
static const struct command_registration | virtex2_exec_command_handlers [] |
struct pld_driver | virtex2_pld |
COMMAND_HANDLER | ( | virtex2_handle_read_stat_command | ) |
Definition at line 165 of file virtex2.c.
References CMD, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, command_print(), device, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, get_pld_device_by_num(), status, and virtex2_read_stat().
PLD_DEVICE_COMMAND_HANDLER | ( | virtex2_pld_device_command | ) |
Definition at line 188 of file virtex2.c.
References CMD, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, jtag_tap_by_string(), virtex2_pld_device::no_jstart, and virtex2_pld_device::tap.
|
static |
Definition at line 117 of file virtex2.c.
References xilinx_bit_file::data, pld_device::driver_priv, ERROR_OK, flip_u32(), scan_field::in_value, jtag_add_dr_scan(), jtag_add_runtest(), jtag_add_sleep(), jtag_add_tlr(), jtag_execute_queue(), xilinx_bit_file::length, virtex2_pld_device::no_jstart, NULL, scan_field::num_bits, scan_field::out_value, virtex2_pld_device::tap, TAP_DRPAUSE, TAP_IDLE, virtex2_set_instr(), xilinx_free_bit_file(), and xilinx_read_bit_file().
|
static |
Definition at line 95 of file virtex2.c.
References ERROR_OK, jtag_add_tlr(), jtag_execute_queue(), LOG_DEBUG, status, virtex2_receive_32(), and virtex2_send_32().
Referenced by COMMAND_HANDLER().
|
static |
Definition at line 70 of file virtex2.c.
References pld_device::driver_priv, ERROR_OK, scan_field::in_value, jtag_add_callback(), jtag_add_dr_scan(), NULL, scan_field::num_bits, scan_field::out_value, virtex2_pld_device::tap, TAP_DRPAUSE, virtex2_set_instr(), and virtexflip32().
Referenced by virtex2_read_stat().
|
static |
Definition at line 38 of file virtex2.c.
References buf_set_u32(), pld_device::driver_priv, ERROR_OK, flip_u32(), scan_field::in_value, jtag_add_dr_scan(), NULL, scan_field::num_bits, scan_field::out_value, virtex2_pld_device::tap, TAP_DRPAUSE, and virtex2_set_instr().
Referenced by virtex2_read_stat().
|
static |
Definition at line 16 of file virtex2.c.
References buf_get_u32(), buf_set_u32(), jtag_tap::cur_instr, DIV_ROUND_UP, ERROR_FAIL, ERROR_OK, scan_field::in_value, jtag_tap::ir_length, jtag_add_ir_scan(), NULL, scan_field::num_bits, scan_field::out_value, and TAP_IDLE.
Referenced by virtex2_load(), virtex2_receive_32(), and virtex2_send_32().
|
inlinestatic |
Definition at line 64 of file virtex2.c.
References flip_u32(), and le_to_h_u32().
Referenced by virtex2_receive_32().
|
static |
|
static |
struct pld_driver virtex2_pld |