aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/xula2/xula2.mk
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2013-11-12 12:54:30 -0500
committerbryan newbold <bnewbold@leaflabs.com>2013-11-12 12:54:30 -0500
commit92ed49e97997d769f41f42260e56a41f8391559d (patch)
treeedfa72346aea5ebbbbcd550d52ae8f299cf12e5c /contrib/xula2/xula2.mk
parent79815d744079daadb5a3808b03ed4d45ffa76365 (diff)
downloadbasic-hdl-template-92ed49e97997d769f41f42260e56a41f8391559d.tar.gz
basic-hdl-template-92ed49e97997d769f41f42260e56a41f8391559d.zip
Part 1 of refactoring template files into ./contrib
BROKEN without later parts (documentation and Makefile updates) This commit moves and deletes a lot of Xula2 and SP605 files around. It also includes a large cleanup of xilinx.mk
Diffstat (limited to 'contrib/xula2/xula2.mk')
-rw-r--r--contrib/xula2/xula2.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/xula2/xula2.mk b/contrib/xula2/xula2.mk
new file mode 100644
index 0000000..681fe38
--- /dev/null
+++ b/contrib/xula2/xula2.mk
@@ -0,0 +1,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