Bump verilator to v4.034 (#547)
* Bump verilator to v4.034 * Add new flags to verilator makefile * Conditionally set timescale flag based on Verilator version
This commit is contained in:
@@ -86,7 +86,10 @@ ARIANE_VERILATOR_FLAGS = \
|
||||
CHIPYARD_VERILATOR_FLAGS = \
|
||||
--assert
|
||||
|
||||
# Use --timescale to approximate timescale behavior of pre-4.034
|
||||
TIMESCALE_OPTS := $(shell verilator --version | perl -lne 'if (/(\d.\d+)/ && $$1 >= 4.034) { print "--timescale 1ns/1ps"; }')
|
||||
VERILATOR_NONCC_OPTS = \
|
||||
$(TIMESCALE_OPTS) \
|
||||
--top-module $(VLOG_MODEL) \
|
||||
$(shell if ! grep -iq "module.*ariane" $(build_dir)/*.*v; then echo "$(CHIPYARD_VERILATOR_FLAGS)"; else echo "$(ARIANE_VERILATOR_FLAGS)"; fi) \
|
||||
--output-split 10000 \
|
||||
|
||||
Reference in New Issue
Block a user