aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2013-10-08 22:05:21 -0400
committerbryan newbold <bnewbold@leaflabs.com>2013-10-08 22:05:21 -0400
commitb31c07157b7b8ca7e8823749e140fcab24b787d2 (patch)
treef03d74eb53c316d0ef30962c39f447434432ce45 /Makefile
parent06bb61d1163f3cac14a6a4b26dd64f3cfb105c97 (diff)
downloadbasic-hdl-template-b31c07157b7b8ca7e8823749e140fcab24b787d2.tar.gz
basic-hdl-template-b31c07157b7b8ca7e8823749e140fcab24b787d2.zip
working xula2 sim/syn/prog system
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile33
1 files changed, 17 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index eaa646e..e89469b 100644
--- a/Makefile
+++ b/Makefile
@@ -5,18 +5,18 @@ 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
+#board := sp605
+#family := spartan6
+#device := xc6slx45t
+#speedgrade := -3
+#device_package := fgg484
# This is the chipset for the Xess Xula 2 dev board
-#board := xula2
-#family := spartan6
-#device := XC6SLX25
-#speedgrade := -2
-#device_package := ft256
+board := xula2
+family := spartan6
+device := XC6SLX25
+speedgrade := -2
+device_package := ftg256
part := $(device)$(speedgrade)-$(device_package)
@@ -26,16 +26,16 @@ iseenv := /opt/Xilinx/14.3/ISE_DS/
# list all .v files explicitly with verilog_files (no hdl/*.v business)
verilog_files := hdl/$(top_module)_$(board).v
+verilog_files += hdl/rot13.v
#verilog_files += hdl/yours.v
-tbfiles := tb/main_tb.v
-tbfiles += tb/another_tb.v
-tbfiles += tb/trivial_test.v
-tbfiles += tb/complicated_test.v
+tbfiles := tb/rot13_tb.v
+tbfiles += tb/xula2_tb.v
+#tbfiles += tb/sp605_tb.v
# what gets run
alltests := test/trivial_test
-alltests += test/complicated_test
+alltests += test/rot13_tb
# list of .xco files, eg "cores/bram.xco". do not include DCM files.
xilinx_cores :=
@@ -48,4 +48,5 @@ mcs_datawidth := 16
include ./contrib/xilinx.mk
# Example hardware-specific targets (eg, upload via SPI)
-include ./contrib/example-device.mk
+#include ./contrib/example-device.mk
+include ./contrib/xula2.mk