Skip to content

Commit

Permalink
Merge pull request #728 from ucb-bar/verilator-opt
Browse files Browse the repository at this point in the history
Allow custom verilator optimization flags
  • Loading branch information
abejgonzalez authored Dec 1, 2020
2 parents 14de80b + 71a3ea8 commit 13602dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sims/verilator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ TRACING_CFLAGS := $(if $(filter $(VERILATOR_FST_MODE),0),,-DCY_FST_TRACE)
#----------------------------------------------------------------------------------------
# we initially had --noassert for performance, but several modules use
# assertions, including dramsim, so we enable --assert by default
VERILATOR_OPT_FLAGS := \
VERILATOR_OPT_FLAGS ?= \
-O3 \
--x-assign fast \
--x-initial fast \
Expand Down

0 comments on commit 13602dc

Please sign in to comment.