summaryrefslogtreecommitdiff
path: root/rtl/fpu/mod.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/fpu/mod.mk')
-rw-r--r--rtl/fpu/mod.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/rtl/fpu/mod.mk b/rtl/fpu/mod.mk
new file mode 100644
index 0000000..606c32c
--- /dev/null
+++ b/rtl/fpu/mod.mk
@@ -0,0 +1,15 @@
+cores := fp_unit fp_lzc
+
+define core/fp_lzc
+ $(this)/rtl_dirs := lzc
+ $(this)/rtl_files := lzc/lzc_wire.sv
+endef
+
+define core/fp_unit
+ $(this)/deps := fp_lzc
+
+ $(this)/vl_main := empty.cpp
+ $(this)/rtl_top := fp_unit
+ $(this)/rtl_dirs := float
+ $(this)/rtl_files := float/fp_wire.sv float/fp_unit.sv
+endef