mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Don't emit trace files with --lint-only
This commit is contained in:
+1
-1
@@ -718,7 +718,7 @@ void V3EmitC::emitcImp() {
|
||||
}
|
||||
|
||||
// Emit trace routines (currently they can only exist in the top module)
|
||||
if (v3Global.opt.trace()) {
|
||||
if (v3Global.opt.trace() && !v3Global.opt.lintOnly()) {
|
||||
EmitCTrace::main(v3Global.rootp()->topModulep(), /* slow: */ true);
|
||||
EmitCTrace::main(v3Global.rootp()->topModulep(), /* slow: */ false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user