summaryrefslogtreecommitdiff
path: root/rtl/axilemu/mod.mk
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-05-05 21:29:41 -0600
committerAlejandro Soto <alejandro@34project.org>2024-05-05 21:29:41 -0600
commite7266cad08ac6f1bcb90c5bbcc501b919882cf1a (patch)
tree1092eeee0785ea945d7451016edcf32dc42faa33 /rtl/axilemu/mod.mk
parent63fc4c60a01e990858e36c3199867f3eaac481d5 (diff)
rtl/axilemu: implement AXI-Lite agent emulation
Diffstat (limited to '')
-rw-r--r--rtl/axilemu/mod.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/rtl/axilemu/mod.mk b/rtl/axilemu/mod.mk
new file mode 100644
index 0000000..60747a7
--- /dev/null
+++ b/rtl/axilemu/mod.mk
@@ -0,0 +1,18 @@
+cores := axilemu_if
+
+define core
+ $(this)/deps := axilemu_if if_common
+
+ $(this)/rtl_top := axilemu
+ $(this)/rtl_dirs := .
+ $(this)/rtl_files := axilemu.sv
+endef
+
+define core/axilemu_if
+ $(this)/hooks := regblock
+
+ $(this)/regblock_rdl := axilemu_if.rdl
+ $(this)/regblock_top := axilemu_if
+ $(this)/regblock_args := --default-reset arst_n
+ $(this)/regblock_cpuif := axi4-lite
+endef