Improve verilator compilation speed
by asking verilator to split the C++ model into multiple files.
This commit is contained in:
parent
54598ed2f8
commit
b455a81678
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue