make $dumpfile(), $dumpvars() no-op when --trace is disabled
or, alternatively, use occurences of $dumpfile(), $dumpvars() to let verilator decide whether to generate the trace code or not? Right now the user has to touch two switches (the command line and the source) to enable tracing.
#1 Updated by Wilson Snyder over 5 years ago
- Status changed from New to WillNotFix
Er, $dumpfile etc isn't ever supported and I think making them error only when tracing is on will just confuse people; enabling waves to debug something shouldn't generate new errors.
Unfortunately, using $dumpfile etc to control tracing won't work with SystemC, nor when there is more than one Verilated model in the design, so I don't want to deal with it otherwise.