summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-09 09:54:13 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-09 09:54:13 -0600
commit1c1620e48ff6b807aed0c955792b4e8a17614c20 (patch)
treeabaed0528fcffc841bfc6e25417625cb7f243acc /Makefile
parent5d798386c3b1c1dc45a2fbc382c9367ccc27c524 (diff)
Implement initial state randomization in sim
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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