summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-10-23 21:36:52 -0600
committerAlejandro Soto <alejandro@34project.org>2022-10-23 21:36:52 -0600
commit86cc8ede123d4cfcb1fcc733933b527558e6ad0d (patch)
tree7747ed9ff15b69aeea4c53c70103b3a35ef985e0
parent1b64062b29fe03957700e2f35b1c044ff755b2ed (diff)
Verilate with max optimization level
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 52a0f06..b48dac1 100644
--- a/Makefile
+++ b/Makefile
@@ -63,4 +63,4 @@ $(OBJ_DIR)/%.mk: \
$$(shell find $(TB_DIR)/top/$$(dir $$*) -type f -name '*.cpp' 2>/dev/null)
mkdir -p $(dir $@)
- $(VERILATOR) --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/%,$^)