diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-02-12 16:20:12 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-02-20 11:11:18 -0600 |
| commit | 6c175d5dc428f630e3bd4caf707db4b77b0b87e7 (patch) | |
| tree | 8a29b9a609e181061f5423398b1f34d46813f84d /rtl/top/mod.mk | |
| parent | bf5cece51a20eb4773d196ec650fb3af574afa17 (diff) | |
rtl, tb: add core.mk files
Diffstat (limited to 'rtl/top/mod.mk')
| -rw-r--r-- | rtl/top/mod.mk | 46 |
1 files changed, 46 insertions, 0 deletions
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 |
