Improve verilator compilation speed

by asking verilator to split the C++ model into multiple files.
This commit is contained in:
Dolu1990 2020-06-30 10:38:26 +02:00 committed by GitHub
parent 54598ed2f8
commit b455a81678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@ sim: $(OBJS_SIM) | mkdir
$(if $(TRACE_FST), --trace-fst,) \ $(if $(TRACE_FST), --trace-fst,) \
$(if $(COVERAGE), --coverage,) \ $(if $(COVERAGE), --coverage,) \
--unroll-count 256 \ --unroll-count 256 \
--output-split 5000 \
--output-split-cfuncs 500 \
--output-split-ctrace 500 \
$(INC_DIR) \ $(INC_DIR) \
-Wno-BLKANDNBLK \ -Wno-BLKANDNBLK \
-Wno-WIDTH -Wno-WIDTH