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
+6 -21
View File
@@ -1,24 +1,9 @@
# 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
# file altera-10m50.cfg replaced by altera-max10.cfg
echo "DEPRECATED: use altera-max10.cfg instead of deprecated altera-10m50.cfg"
jtag newtap 10m50 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
#just to be backward compatible:
#tap will be 10m50.tap instead of max10.tap:
set CHIPNAME 10m50
source [find cpld/altera-max10.cfg]