mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Improve converge-limit error message
This commit is contained in:
+3
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user