Files
openocd/tcl/fpga/efinix_trion.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

18 lines
412 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
# efinix trion
# https://www.efinixinc.com/docs/an021-jtag-bst-trion-v1.0.pdf
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME trion
}
jtag newtap $_CHIPNAME tap -irlen 4 -ignore-version \
-expected-id 0x00210A79 \
-expected-id 0x00240A79 \
-expected-id 0x00220A79
pld create $_CHIPNAME.pld efinix -chain-position $_CHIPNAME.tap