From 1c1620e48ff6b807aed0c955792b4e8a17614c20 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Wed, 9 Nov 2022 09:54:13 -0600 Subject: Implement initial state randomization in sim --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b48dac1..66e9ff7 100644 --- a/Makefile +++ b/Makefile @@ -63,4 +63,7 @@ $(OBJ_DIR)/%.mk: \ $$(shell find $(TB_DIR)/top/$$(dir $$*) -type f -name '*.cpp' 2>/dev/null) mkdir -p $(dir $@) - $(VERILATOR) -O3 --cc --exe --trace -y $(RTL_DIR) --Mdir $(dir $@) --top $(word 1,$(subst /, ,$*)) $(patsubst tb/%,../tb/%,$^) + $(VERILATOR) \ + -O3 --cc --exe --trace -y $(RTL_DIR) --Mdir $(dir $@) \ + --top $(word 1,$(subst /, ,$*)) $(patsubst tb/%,../tb/%,$^) \ + --x-assign unique --x-initial unique -- cgit v1.2.3