summaryrefslogtreecommitdiff
path: root/rtl/axilemu/mod.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/axilemu/mod.mk')
-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