Remove source location from DIDNOTCONVERGE error (#8225 prep) (#8227)

This commit is contained in:
Geza Lore
2026-08-26 04:55:36 -04:00
committed by GitHub
parent 5e4151e3e0
commit 087b15bdb3
9 changed files with 9 additions and 13 deletions
+1 -5
View File
@@ -92,11 +92,7 @@ AstNodeStmt* checkIterationLimit(AstNetlist* netlistp, const string& name, AstVa
if (dumpCallp) ifp->addThensp(dumpCallp);
AstCStmt* const stmtp = new AstCStmt{flp};
ifp->addThensp(stmtp);
const FileLine* const locp = netlistp->topModulep()->fileline();
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
stmtp->add("VL_FATAL_MT(\"\", 0, \"\", \"DIDNOTCONVERGE: " + name
+ " region did not converge after '--converge-limit' of " + std::to_string(limit)
+ " tries\");");
return ifp;