pld: add support for altera/intel devices
Change-Id: I7977d39c9037ae71139f78c8d381f5f925dc3489 Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: https://review.openocd.org/c/openocd/+/7355 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
7c6d446440
commit
db0609aeb4
30
tcl/cpld/altera-max10.cfg
Normal file
30
tcl/cpld/altera-max10.cfg
Normal file
@@ -0,0 +1,30 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# see MAX 10 FPGA Device Architecture
|
||||
# Table 3-1: IDCODE Information for MAX 10 Devices
|
||||
# Intel MAX 10M02 0x31810dd
|
||||
# Intel MAX 10M04 0x318a0dd
|
||||
# Intel MAX 10M08 0x31820dd
|
||||
# Intel MAX 10M16 0x31830dd
|
||||
# Intel MAX 10M25 0x31840dd
|
||||
# Intel MAX 10M40 0x318d0dd
|
||||
# Intel MAX 10M50 0x31850dd
|
||||
# Intel MAX 10M02 0x31010dd
|
||||
# Intel MAX 10M04 0x310a0dd
|
||||
# Intel MAX 10M08 0x31020dd
|
||||
# Intel MAX 10M16 0x31030dd
|
||||
# Intel MAX 10M25 0x31040dd
|
||||
# Intel MAX 10M40 0x310d0dd
|
||||
# Intel MAX 10M50 0x31050dd
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set _CHIPNAME $CHIPNAME
|
||||
} else {
|
||||
set _CHIPNAME max10
|
||||
}
|
||||
|
||||
jtag newtap $_CHIPNAME tap -irlen 10 -expected-id 0x31810dd -expected-id 0x318a0dd \
|
||||
-expected-id 0x31820dd -expected-id 0x31830dd -expected-id 0x31840dd \
|
||||
-expected-id 0x318d0dd -expected-id 0x31850dd -expected-id 0x31010dd \
|
||||
-expected-id 0x310a0dd -expected-id 0x31020dd -expected-id 0x31030dd \
|
||||
-expected-id 0x31040dd -expected-id 0x310d0dd -expected-id 0x31050dd
|
||||
Reference in New Issue
Block a user