aboutsummaryrefslogtreecommitdiff
path: root/tcl/cpld/altera-maxii.cfg
blob: 2dee37f41cf718d37bf655b4248c99aac425f430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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