1
0
mirror of https://git.code.sf.net/p/openocd/code synced 2024-11-24 19:56:23 +00:00
openocd/tcl/cpld/xilinx-xc7vh580t.cfg
Daniel Anselmi 659f2e062d tcl/cpld: add config files for virtex-7 devices with ir-length > 6
Adding a single file for each different ir-length.

Change-Id: Iba3dd55b91c28fdb4d0cafa1ededd939fe61a267
Signed-off-by: Daniel Anselmi <danselmi@gmx.ch>
Reviewed-on: https://review.openocd.org/c/openocd/+/7715
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
2023-07-14 13:49:13 +00:00

26 lines
838 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
# xilinx series 7 (artix, kintex, virtex)
# http://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf
# https://bsdl.info/view.htm?sid=65c6b2cfe1467b4988ca59b002289d77
#
# this config file is for xc7vh580t only.
# for other virtex-7 devices use xilinx-xc7vh870t.cfg or xilinx-xc7v.cfg or xilinx-xc7.cfg
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME xc7vh580t
}
jtag newtap $_CHIPNAME tap -irlen 22 -ignore-version -expected-id 0x036D9093
#CFG_OUT_SLR0 0x0492A0
#CFG_IN_SLR0 0x0592A0
#CFG_OUT_SLR1 0x2412A0
#CFG_IN_SLR1 0x2416A0
pld create $_CHIPNAME.pld virtex2 -chain-position $_CHIPNAME.tap -no_jstart
# cfg_out cfg_in jprogb jstart jshutdown
virtex2 set_instr_codes $_CHIPNAME.pld 0x3FFFFF 0x3FFFFF 0x0B2EA0 0x0C32A0 0x0D36A0