forked from auracaster/openocd
pld/xilinx: make instruction codes configurable
Change-Id: I4d2c1fbd4d6007ba8d5c8c687a7c13e25fb6a474 Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: https://review.openocd.org/c/openocd/+/7713 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
5ae0264055
commit
9cb09f8cfe
@@ -10,9 +10,23 @@
|
||||
|
||||
#include <jtag/jtag.h>
|
||||
|
||||
#define VIRTEX2_MAX_USER_INSTRUCTIONS 4
|
||||
|
||||
struct virtex2_command_set {
|
||||
uint64_t cfg_out;
|
||||
uint64_t cfg_in;
|
||||
uint64_t jprog_b;
|
||||
uint64_t jstart;
|
||||
uint64_t jshutdown;
|
||||
uint64_t bypass;
|
||||
uint64_t user[VIRTEX2_MAX_USER_INSTRUCTIONS];
|
||||
unsigned int num_user;
|
||||
};
|
||||
|
||||
struct virtex2_pld_device {
|
||||
struct jtag_tap *tap;
|
||||
int no_jstart;
|
||||
struct virtex2_command_set command_set;
|
||||
};
|
||||
|
||||
#endif /* OPENOCD_PLD_VIRTEX2_H */
|
||||
|
||||
Reference in New Issue
Block a user