Change --lint-only and --json-only to imply --timing (#6790).

This commit is contained in:
Wilson Snyder
2025-12-17 19:24:43 -05:00
parent 12ff481689
commit b90865a08a
50 changed files with 685 additions and 377 deletions
+4
View File
@@ -1039,6 +1039,10 @@ void V3Options::notify() VL_MT_DISABLED {
&& !v3Global.opt.serializeOnly());
}
if (m_timing.isDefault()
&& (v3Global.opt.jsonOnly() || v3Global.opt.lintOnly() || v3Global.opt.xmlOnly()))
v3Global.opt.m_timing.setTrueOrFalse(true);
if (trace()) {
// With --trace-vcd, --trace-threads is ignored
if (traceEnabledVcd()) m_traceThreads = 1;