mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-18 05:25:45 +10:00
Use configurable virtex pld driver to add support for more xilinx fpga families. Change-Id: Iff10c8c511787734fa289bdba15f03131d51e071 Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: https://review.openocd.org/c/openocd/+/7352 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
41 lines
1.0 KiB
INI
41 lines
1.0 KiB
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# xilinx spartan3
|
|
# https://docs.xilinx.com/v/u/en-US/ug332
|
|
|
|
if { [info exists CHIPNAME] } {
|
|
set _CHIPNAME $CHIPNAME
|
|
} else {
|
|
set _CHIPNAME xc3s
|
|
}
|
|
|
|
# the 4 top bits (28:31) are the die stepping. ignore it.
|
|
jtag newtap $_CHIPNAME tap -irlen 6 -ignore-version \
|
|
-expected-id 0x01414093 \
|
|
-expected-id 0x0141C093 \
|
|
-expected-id 0x01428093 \
|
|
-expected-id 0x01434093 \
|
|
-expected-id 0x01440093 \
|
|
-expected-id 0x01448093 \
|
|
-expected-id 0x01450093 \
|
|
-expected-id 0x01C10093 \
|
|
-expected-id 0x01C1A093 \
|
|
-expected-id 0x01C22093 \
|
|
-expected-id 0x01C2E093 \
|
|
-expected-id 0x01C3A093 \
|
|
-expected-id 0x0140C093 \
|
|
-expected-id 0x02210093 \
|
|
-expected-id 0x02218093 \
|
|
-expected-id 0x02220093 \
|
|
-expected-id 0x02228093 \
|
|
-expected-id 0x02230093 \
|
|
-expected-id 0x02610093 \
|
|
-expected-id 0x02618093 \
|
|
-expected-id 0x02620093 \
|
|
-expected-id 0x02628093 \
|
|
-expected-id 0x02630093 \
|
|
-expected-id 0x03840093 \
|
|
-expected-id 0x0384e093
|
|
|
|
pld create $_CHIPNAME.pld virtex2 -chain-position $_CHIPNAME.tap
|