summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-10-27 05:55:35 -0600
committerAlejandro Soto <alejandro@34project.org>2023-10-27 05:55:35 -0600
commit7baed021cdf61891bc9454050edf7f2a0f75b45b (patch)
treef8ea231e28e9d5109217dca727b357db0a20a9a2 /Makefile
parenta1135fc271f503bdc85508211c12201a38c646b8 (diff)
rtl/gfx: implement fp16 on verilator
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c6fa11d..01e4c15 100644
--- a/Makefile
+++ b/Makefile
@@ -21,11 +21,11 @@ CROSS_CFLAGS := -O3 -Wall -Wextra -Werror
CROSS_LDFLAGS :=
ifeq ($(shell which $(VERILATOR)),)
- $(error verilator not found)
+ $(error verilator not found)
endif
ifeq ($(shell which $(COCOTB_CONFIG)),)
- $(error cocotb not found)
+ $(error cocotb not found)
endif
ifdef FASTER_IS_BETTER
@@ -200,7 +200,7 @@ $(OBJ_DIR)/%.mk: \
mkdir -p $(dir $@)
$(VERILATOR) $(VFLAGS) \
- --Mdir $(dir $@) --top $(word 1,$(subst /, ,$*)) \
+ --Mdir $(dir $@) --top $(word 1,$(subst /, ,$*)) -FI $(ROOT)/$(TB_DIR)/verilator.hpp \
$(filter %.sv %.cpp,$(patsubst tb/%,../tb/%,$^)) \
$(if $(filter $(TOP),$(word 1,$(subst /, ,$*))),, \
--vpi --public-flat-rw -LDFLAGS "$(COCOTB_LDFLAGS) $(LIBPYTHON)" \