From: Dolu1990 Date: Tue, 30 Jun 2020 08:38:26 +0000 (+0200) Subject: Improve verilator compilation speed X-Git-Tag: 24jan2021_ls180~122^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b455a816781d05bd4779fba57df0d7e444aeadc2;p=litex.git Improve verilator compilation speed by asking verilator to split the C++ model into multiple files. --- diff --git a/litex/build/sim/core/Makefile b/litex/build/sim/core/Makefile index 5615fe3d..f1439824 100644 --- a/litex/build/sim/core/Makefile +++ b/litex/build/sim/core/Makefile @@ -45,6 +45,9 @@ sim: $(OBJS_SIM) | mkdir $(if $(TRACE_FST), --trace-fst,) \ $(if $(COVERAGE), --coverage,) \ --unroll-count 256 \ + --output-split 5000 \ + --output-split-cfuncs 500 \ + --output-split-ctrace 500 \ $(INC_DIR) \ -Wno-BLKANDNBLK \ -Wno-WIDTH