diff --git a/bin/verilator b/bin/verilator index 043975b35..9a9b4f104 100755 --- a/bin/verilator +++ b/bin/verilator @@ -339,7 +339,7 @@ detailed descriptions in L for more information. -O Selectable optimizations -o Name of final executable --no-order-clock-delay Disable ordering clock enable assignments - --output-split Split .cpp files into pieces + --output-split Split .cpp files into pieces --output-split-cfuncs Split .cpp functions --output-split-ctrace Split tracing functions -P Disable line numbers and blanks with -E @@ -1066,7 +1066,7 @@ Rarely needed. Disables a bug fix for ordering of clock enables with delayed assignments. This flag should only be used when suggested by the developers. -=item --output-split I +=item --output-split I Enables splitting the output .cpp files into multiple outputs. When a C++ file exceeds the specified number of operations, a new file will be created @@ -1078,6 +1078,9 @@ and the remaining files can be compiled on parallel machines. Using design --output-split 20000 resulted in splitting into approximately one-minute-compile chunks. +Typically when using this, make with VM_PARALLEL_BUILD=1, and use +I. + =item --output-split-cfuncs I Enables splitting functions in the output .cpp files into multiple @@ -4746,6 +4749,9 @@ test_regress/t/t_extend_class files show an example of how to do this. =item How do I get faster build times? +When running make pass the make variable VM_PARALLEL_BUILDS=1 so that +builds occur in parallel. + Use a recent compiler. Newer compilers tend do be faster, with the now relatively old GCC 3.0 to 3.3 being horrible.