mirror of
https://github.com/verilator/verilator.git
synced 2026-09-04 08:33:38 +02:00
Change --lint-only and --json-only to imply --timing (#6790).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user