summaryrefslogtreecommitdiff
path: root/rtl/top
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/top')
-rw-r--r--rtl/top/mod.mk18
1 files changed, 16 insertions, 2 deletions
diff --git a/rtl/top/mod.mk b/rtl/top/mod.mk
index 6c6acf2..031a2fa 100644
--- a/rtl/top/mod.mk
+++ b/rtl/top/mod.mk
@@ -1,12 +1,26 @@
cores := conspiracion test_fb test_fifo test_ring test_smp
define core/conspiracion
- $(this)/targets := sim
- $(this)/deps := conspiracion/tb
+ $(this)/deps := config
+ $(this)/targets := sim
+
$(this)/rtl_files := conspiracion.sv
$(this)/rtl_top := conspiracion
+
$(this)/vl_main := ../../tb/top/conspiracion/conspiracion.cpp
$(this)/vl_runner := run_conspiracion
+
+ $(this)/altera_device := 5CSEMA5F31C6
+ $(this)/altera_family := Cyclone V
+ $(this)/qsys_platform := ../../platform.qsys
+
+ $(this)/sdc_files := ../../conspiracion.sdc
+ $(this)/qip_files := $(patsubst %,../../ip/%.qip,dsp_mul ip_fp_add ip_fp_mul ip_fp_fix)
+ $(this)/qsf_files := ../../pins.tcl
+
+ ifeq (sim,$(flow/type))
+ $(this)/deps += conspiracion/tb
+ endif
endef
define core/test_fb