Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Slow file compiled with OPT_FAST when --output-split is used #1370
Author Name: Thomas Watts
Original Assignee: Wilson Snyder (@wsnyder)
Hi, I'm trying to speed up the build time of a moderately large verilator model.
So I'm verilating with --output-split 20000 and compiling with VM_PARALLEL_BUILDS=1 OPT_FAST="-O1 -fstrict-aliasing"
This combination of options results in a 'slow' file being compiled with the OPT_FAST options, which for my design causes a ~60MB C file to be compiled for ~1hour.
The problem is that verilator creates Vmydesign__Trace__Slow__1.cpp which is picked up not by this rule
but instead by
(verilator-4.006, ccache and clang-6.0)