From 6c175d5dc428f630e3bd4caf707db4b77b0b87e7 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Mon, 12 Feb 2024 16:20:12 -0600 Subject: rtl, tb: add core.mk files --- rtl/top/mod.mk | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 rtl/top/mod.mk (limited to 'rtl/top') diff --git a/rtl/top/mod.mk b/rtl/top/mod.mk new file mode 100644 index 0000000..6c6acf2 --- /dev/null +++ b/rtl/top/mod.mk @@ -0,0 +1,46 @@ +cores := conspiracion test_fb test_fifo test_ring test_smp + +define core/conspiracion + $(this)/targets := sim + $(this)/deps := conspiracion/tb + $(this)/rtl_files := conspiracion.sv + $(this)/rtl_top := conspiracion + $(this)/vl_main := ../../tb/top/conspiracion/conspiracion.cpp + $(this)/vl_runner := run_conspiracion +endef + +define core/test_fb + $(this)/targets := test + $(this)/deps := gfx + $(this)/rtl_files := test_fb.sv + $(this)/rtl_top := test_fb + $(this)/cocotb_paths := ../../.. + $(this)/cocotb_modules := tb.top.test_fb +endef + +define core/test_fifo + $(this)/targets := test + $(this)/deps := gfx + $(this)/rtl_files := test_fifo.sv + $(this)/rtl_top := test_fifo + $(this)/cocotb_paths := ../../.. + $(this)/cocotb_modules := tb.top.test_fifo +endef + +define core/test_ring + $(this)/targets := test + $(this)/deps := cache + $(this)/rtl_files := test_ring.sv + $(this)/rtl_top := test_ring + $(this)/cocotb_paths := ../../.. + $(this)/cocotb_modules := tb.top.test_ring +endef + +define core/test_smp + $(this)/targets := test + $(this)/deps := smp test_fifo test_ring + $(this)/rtl_files := test_smp.sv + $(this)/rtl_top := test_smp + $(this)/cocotb_paths := ../../.. + $(this)/cocotb_modules := tb.top.test_smp +endef -- cgit v1.2.3