summaryrefslogtreecommitdiff
path: root/tb
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-02-12 16:20:12 -0600
committerAlejandro Soto <alejandro@34project.org>2024-02-20 11:11:18 -0600
commit6c175d5dc428f630e3bd4caf707db4b77b0b87e7 (patch)
tree8a29b9a609e181061f5423398b1f34d46813f84d /tb
parentbf5cece51a20eb4773d196ec650fb3af574afa17 (diff)
rtl, tb: add core.mk files
Diffstat (limited to 'tb')
-rw-r--r--tb/mod.mk10
-rw-r--r--tb/top/conspiracion/conspiracion.cpp (renamed from tb/top/conspiracion.cpp)0
-rw-r--r--tb/top/conspiracion/mod.mk8
-rw-r--r--tb/top/conspiracion/vga_domain.sv4
4 files changed, 20 insertions, 2 deletions
diff --git a/tb/mod.mk b/tb/mod.mk
new file mode 100644
index 0000000..ff445be
--- /dev/null
+++ b/tb/mod.mk
@@ -0,0 +1,10 @@
+cores := ip_mul interconnect
+subdirs := top/conspiracion
+
+define core/ip_mul
+ $(this)/rtl_files := dsp_mul.sv
+endef
+
+define core/interconnect
+ $(this)/rtl_files := mem_interconnect.sv
+endef
diff --git a/tb/top/conspiracion.cpp b/tb/top/conspiracion/conspiracion.cpp
index e1f5f78..e1f5f78 100644
--- a/tb/top/conspiracion.cpp
+++ b/tb/top/conspiracion/conspiracion.cpp
diff --git a/tb/top/conspiracion/mod.mk b/tb/top/conspiracion/mod.mk
new file mode 100644
index 0000000..d775150
--- /dev/null
+++ b/tb/top/conspiracion/mod.mk
@@ -0,0 +1,8 @@
+cores := conspiracion/tb
+
+define core/conspiracion/tb
+ $(this)/deps := cache core perf smp interconnect
+ $(this)/rtl_files := platform.sv sim_slave.sv vga_domain.sv
+ $(this)/vl_files := interrupt.cpp interval_timer.cpp jtag_uart.cpp mem.cpp sim_slave.cpp
+ $(this)/vl_pkgconfig := ncursesw sdl2
+endef
diff --git a/tb/top/conspiracion/vga_domain.sv b/tb/top/conspiracion/vga_domain.sv
index 0c9aac5..55c564c 100644
--- a/tb/top/conspiracion/vga_domain.sv
+++ b/tb/top/conspiracion/vga_domain.sv
@@ -26,11 +26,11 @@ module vga_domain
logic[7:0] vga_g /*verilator public*/;
logic[7:0] vga_b /*verilator public*/;
- vga crtc
+ /*vga crtc
(
.clk(clk_clk),
.rst_n(reset_reset_n),
.*
- );
+ );*/
endmodule