Update UNOPTFLAT warning to suggest isolate_assignments (#5942)

This commit is contained in:
John Khoo 2025-04-18 19:35:36 +10:00 committed by GitHub
parent cbabd8abe1
commit fee839a80e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -110,6 +110,7 @@ Jiuyang Liu
Joey Liu Joey Liu
John Coiner John Coiner
John Demme John Demme
John Khoo
John Wehle John Wehle
Jonathan Drolet Jonathan Drolet
Jonathan Schröter Jonathan Schröter

View File

@ -317,7 +317,7 @@ void reportLoopVars(Graph* graphp, SchedAcyclicVarVertex* vvtxp) {
if (splittable) { if (splittable) {
std::cerr << V3Error::warnMoreStandalone() std::cerr << V3Error::warnMoreStandalone()
<< "... Suggest add /*verilator split_var*/ to appropriate variables above." << "... Suggest add /*verilator split_var*/ or /*verilator isolate_assignments*/ to appropriate variables above."
<< std::endl; << std::endl;
} }
V3Stats::addStat("Scheduling, split_var, candidates", splittable); V3Stats::addStat("Scheduling, split_var, candidates", splittable);

View File

@ -10,5 +10,5 @@
t/t_unoptflat_simple_2.v:16:15: t.x, width 3, circular fanout 1, can split_var t/t_unoptflat_simple_2.v:16:15: t.x, width 3, circular fanout 1, can split_var
... Candidates with the highest fanout: ... Candidates with the highest fanout:
t/t_unoptflat_simple_2.v:16:15: t.x, width 3, circular fanout 1, can split_var t/t_unoptflat_simple_2.v:16:15: t.x, width 3, circular fanout 1, can split_var
... Suggest add /*verilator split_var*/ to appropriate variables above. ... Suggest add /*verilator split_var*/ or /*verilator isolate_assignments*/ to appropriate variables above.
%Error: Exiting due to %Error: Exiting due to