Merge pull request #728 from ucb-bar/verilator-opt

Allow custom verilator optimization flags
This commit is contained in:
Abraham Gonzalez
2020-11-30 22:56:36 -07:00
committed by GitHub

View File

@@ -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 \