aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/xula2/xula2.mk
blob: 681fe38de7ee8cca0c90ca78176ef50e967f55ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# xula2 device-specific configuration variables and make targets

.PHONY: prog prog_flash

board := xula2
family := spartan6
device := XC6SLX25
speedgrade := -2
device_package := ftg256
bitconf_file := ./contrib/xula2/xula2.bitconf
ucf_file := ./contrib/xula2/xula2.ucf
opt_file := ./contrib/default.opt

# This target uploads directly to the FPGA; volatile
prog: build/$(project).bit
	# First ensure that xsload.py is installed
	@xsload.py --version
	@xsload.py --fpga build/$(project).bit
 
# This target uploads to the SPI flash on board; non-volatile
prog_flash: build/$(project).bit
	# First ensure that xsload.py is installed
	@xsload.py --version
	@xsload.py --flash build/$(project).bit