From 45b5eabe868ac2f8a755379bde07c102caf74afb Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 27 Apr 2024 11:45:23 -0600 Subject: rtl/fpu: initial commit Imported from https://github.com/taneroksuz/fpu-sp --- rtl/fpu/mod.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 rtl/fpu/mod.mk (limited to 'rtl/fpu/mod.mk') 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 -- cgit v1.2.3