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:
Daniel Anselmi
2022-12-12 09:49:51 +01:00
committed by Antonio Borneo
parent 7c6d446440
commit db0609aeb4
17 changed files with 809 additions and 49 deletions

21
tcl/cpld/altera-maxii.cfg Normal file
View File

@@ -0,0 +1,21 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Altera MAXII CPLD
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME maxii
}
# see MAX II Device Handbook
# Table 3-3: 32-Bit MAX II Device IDCODE
# Version Part Number Manuf. ID LSB
# 0000 0010 0000 1010 0001 000 0110 1110 1
jtag newtap $_CHIPNAME tap -irlen 10 \
-expected-id 0x020a10dd \
-expected-id 0x020a20dd \
-expected-id 0x020a30dd \
-expected-id 0x020a40dd \
-expected-id 0x020a50dd \
-expected-id 0x020a60dd