adapter driver ch347
ch347 vid_pid 0x1a86 0x55dd 

adapter speed 10000
 
source xilinx-xc7.cfg
source jtagspi-347.cfg

proc fpga_program {} {
    global _CHIPNAME
    xc7_program $_CHIPNAME.tap
}

init
jtagspi_init 0 bscan_spi_xc7a100t.bit
jtagspi_program pcileech_enigma_x1_top.bin 0x0
fpga_program
echo "Script written by Discord: kilmu1337"

shutdown
