From 223dbc0619adde456cf5dde7c2c5235c33301b15 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 18 Nov 2023 20:17:38 -0600 Subject: rtl/gfx: fix Verilator loop unrolling bug in gfx_pipes --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 01e4c15..f8574ec 100644 --- a/Makefile +++ b/Makefile @@ -203,5 +203,6 @@ $(OBJ_DIR)/%.mk: \ --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)" \ + --vpi --public-flat-rw --unroll-count 128 \ + -LDFLAGS "$(COCOTB_LDFLAGS) $(LIBPYTHON)" \ $(shell $(COCOTB_CONFIG) --share)/lib/verilator/verilator.cpp) -- cgit v1.2.3