target/adi_v5_swd: move setting of do_reconnect one level up
[openocd.git] / tcl / cpld / xilinx-xc7vh870t.cfg
blob25e2e63615a5f9977863f3c6a785eaa40fa505fd
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # xilinx series 7 (artix, kintex, virtex)
4 # http://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf
5 # https://bsdl.info/view.htm?sid=d9ff0bb764df004588ca59b002289d77
7 # this config file is for xc7vh870t only.
8 # for other virtex-7 devices use xilinx-xc7vh580t.cfg or xilinx-xc7v.cfg or xilinx-xc7.cfg
11 if { [info exists CHIPNAME] } {
12         set _CHIPNAME $CHIPNAME
13 } else {
14         set _CHIPNAME xc7vh870t
17 jtag newtap $_CHIPNAME tap -irlen 38 -ignore-version -expected-id 0x036DB093
19 #CFG_OUT_SLR0 0x0492A092A0
20 #CFG_IN_SLR0  0x0592A092A0
21 #CFG_OUT_SLR1 0x2412A092A0
22 #CFG_IN_SLR1  0x2416A092A0
23 #CFG_OUT_SLR2 0x2492A012A0
24 #CFG_IN_SLR2  0x2492A016A0
26 pld create $_CHIPNAME.pld virtex2 -chain-position $_CHIPNAME.tap -no_jstart
27 # cfg_out cfg_in jprogb jstart jshutdown
28 virtex2 set_instr_codes $_CHIPNAME.pld 0x3FFFFFFFFF 0x3FFFFFFFFF 0x0B2EA02EA0 0x0C32A032A0 0x0D36A036A0