Improve converge-limit error message

This commit is contained in:
Wilson Snyder
2026-01-28 18:32:50 -05:00
parent 30e6cd9092
commit 913cf07491
10 changed files with 13 additions and 12 deletions
+3 -2
View File
@@ -96,8 +96,9 @@ AstNodeStmt* checkIterationLimit(AstNetlist* netlistp, const string& name, AstVa
const std::string& file = VIdProtect::protect(locp->filename());
const std::string& line = std::to_string(locp->lineno());
stmtp->add("VL_FATAL_MT(\"" + V3OutFormatter::quoteNameControls(file) + "\", " + line
+ ", \"\", \"DIDNOTCONVERGE: " + name + " region did not converge after "
+ std::to_string(limit) + " tries\");");
+ ", \"\", \"DIDNOTCONVERGE: " + name
+ " region did not converge after '--converge-limit' of " + std::to_string(limit)
+ " tries\");");
return ifp;
}