cocotb-test icon indicating copy to clipboard operation
cocotb-test copied to clipboard

Add option to pass argument to verilator's make. Useful to speed up …

Open benreynwar opened this issue 2 years ago • 1 comments

…compilation.

I'm running verilator on a large design and the compilation was taking a long time. I wanted to able to call 'make -j 16' to speed things up, but there wasn't an option to pass arguments to verilator's make command.

I just called the argument 'more_compile_args' for lack of any better ideas, and in case some other simulator could also make use of it.

On a side note, if anyone has any suggestions for ways I can make verilator compilation less slow for large designs I'd love to hear them!

benreynwar avatar Apr 21 '22 22:04 benreynwar

If anything I would change this to make_args and add this only to the verilator class.

themperek avatar Apr 23 '22 20:04 themperek

Please close, new PR 232 created with updated master and proposed re-work changes.

dramoz avatar Apr 20 '23 14:04 dramoz

Close in favour of https://github.com/themperek/cocotb-test/pull/238

themperek avatar Jul 18 '23 08:07 themperek