summaryrefslogtreecommitdiff
path: root/rtl/vdc/mod.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/vdc/mod.mk')
-rw-r--r--rtl/vdc/mod.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/rtl/vdc/mod.mk b/rtl/vdc/mod.mk
new file mode 100644
index 0000000..11bf8c3
--- /dev/null
+++ b/rtl/vdc/mod.mk
@@ -0,0 +1,18 @@
+cores := vdc_if
+
+define core
+ $(this)/deps := if_common vdc_if
+
+ $(this)/rtl_top := vdc_top
+ $(this)/rtl_dirs := .
+ $(this)/rtl_files := vdc_pkg.sv vdc_top.sv
+endef
+
+define core/vdc_if
+ $(this)/hooks := regblock
+
+ $(this)/regblock_rdl := vdc_if.rdl
+ $(this)/regblock_top := vdc_if
+ $(this)/regblock_args := --default-reset arst_n
+ $(this)/regblock_cpuif := axi4-lite
+endef