aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2013-10-04 21:46:17 -0400
committerbryan newbold <bnewbold@leaflabs.com>2013-10-04 21:46:17 -0400
commit1ad824a33038856ae9a61379b4f78f1f6e888fe8 (patch)
tree2bfa16bae550df4cdef9b9b360c9db3b5f159dda /Makefile
parenta9cdeccc5c32979b44c3fb7cd2c86ed564adcfda (diff)
downloadbasic-hdl-template-1ad824a33038856ae9a61379b4f78f1f6e888fe8.tar.gz
basic-hdl-template-1ad824a33038856ae9a61379b4f78f1f6e888fe8.zip
add concept of 'board' for seperate ucfs and top level modules
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 20e992a..8bdf2d2 100644
--- a/Makefile
+++ b/Makefile
@@ -5,19 +5,27 @@ top_module := main
vendor := xilinx
# This is the chipset from the Xilinx SP605 dev board
+board := sp605
family := spartan6
device := xc6slx45t
speedgrade := -3
device_package := fgg484
-part := $(device)$(speedgrade)-$(device_package)
+# This is the chipset for the Xess Xula 2 dev board
+#board := xula2
+#family := spartan6
+#device := XC6SLX25
+#speedgrade := -2
+#device_package := ft256
+
+part := $(device)$(speedgrade)-$(device_package)
# is this build host 64 or 32 bits?
hostbits := 64
iseenv := /opt/Xilinx/14.3/ISE_DS/
# list all .v files explicitly with vfiles (no hdl/*.v business)
-vfiles := hdl/project.v
+vfiles := hdl/$(top_module)_$(board).v
#vfiles += hdl/yours.v
# can only specify a single test bench file here (for now)