1
0
mirror of https://git.code.sf.net/p/openocd/code synced 2024-11-24 18:46:24 +00:00
openocd/tcl/fpga/gatemate.cfg
Daniel Anselmi 5ae0264055 pld: give devices a name for referencing in scripts
Change-Id: I05e8596ffacdb6cd8da4dd8a40bb460183f4930a
Signed-off-by: Daniel Anselmi <danselmi@gmx.ch>
Reviewed-on: https://review.openocd.org/c/openocd/+/7728
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2023-07-08 18:00:52 +00:00

17 lines
431 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
# GateMateTM FPGA
# https://www.colognechip.com/programmable-logic/gatemate/
# https://colognechip.com/docs/ds1001-gatemate1-datasheet-latest.pdf
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME gatemate
}
jtag newtap $_CHIPNAME tap -irlen 6 -ignore-version \
-expected-id 0x20000001
pld create $_CHIPNAME.pld gatemate -chain-position $_CHIPNAME.tap