Allow custom verilator optimization flags
This commit is contained in:
@@ -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
|
# we initially had --noassert for performance, but several modules use
|
||||||
# assertions, including dramsim, so we enable --assert by default
|
# assertions, including dramsim, so we enable --assert by default
|
||||||
VERILATOR_OPT_FLAGS := \
|
VERILATOR_OPT_FLAGS ?= \
|
||||||
-O3 \
|
-O3 \
|
||||||
--x-assign fast \
|
--x-assign fast \
|
||||||
--x-initial fast \
|
--x-initial fast \
|
||||||
|
|||||||
Reference in New Issue
Block a user