Improve format of runtime errors, especially DIDNOTCONVERGE

This commit is contained in:
Wilson Snyder
2026-01-08 01:01:54 -05:00
parent da14e7c4bb
commit c75fb4cdae
11 changed files with 50 additions and 39 deletions
+2 -2
View File
@@ -96,8 +96,8 @@ 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
+ ", \"\", \"" + name + " region did not converge after " + std::to_string(limit)
+ " tries\");");
+ ", \"\", \"DIDNOTCONVERGE: " + name + " region did not converge after "
+ std::to_string(limit) + " tries\");");
return ifp;
}