aboutsummaryrefslogtreecommitdiff
path: root/tcl/cpld/altera-maxv.cfg
blob: 03fad076f1f70de02dec4fb98cf1e236075db9ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-License-Identifier: GPL-2.0-or-later

# Altera MAXV 5M24OZ/5M570Z CPLD
# see MAX V Device Handbook
# Table 6-3: 32-Bit MAX V Device IDCODE
# 5M40Z 5M80Z 5M160Z 5M240Z: 0x020A50DD
# 5M570Z:                    0x020A60DD
# 5M1270Z:                   0x020A30DD
# 5M1270Z 5M2210Z:           0x020A40DD

if { [info exists CHIPNAME] } {
	set _CHIPNAME $CHIPNAME
} else {
	set _CHIPNAME maxv
}

jtag newtap $_CHIPNAME tap -irlen 10 \
  -expected-id 0x020A50DD -expected-id 0x020A60DD \
  -expected-id 0x020A30DD -expected-id 0x020A40DD