summaryrefslogtreecommitdiff
path: root/rtl/mod.mk
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 /rtl/mod.mk
parentbf5cece51a20eb4773d196ec650fb3af574afa17 (diff)
rtl, tb: add core.mk files
Diffstat (limited to 'rtl/mod.mk')
-rw-r--r--rtl/mod.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/rtl/mod.mk b/rtl/mod.mk
new file mode 100644
index 0000000..ec770a2
--- /dev/null
+++ b/rtl/mod.mk
@@ -0,0 +1,16 @@
+cores := config debounce intc
+subdirs := cache core gfx perf smp top
+
+define core/config
+ $(this)/rtl_include_dirs := .
+endef
+
+define core/debounce
+ $(this)/rtl_files := debounce.sv
+ $(this)/rtl_top := debounce
+endef
+
+define core/intc
+ $(this)/rtl_files := intc.sv
+ $(this)/rtl_top := intc
+endef