mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix $fatal to not be affected by +verilator+error+limit (#5135).
This commit is contained in:
+1
-1
@@ -189,7 +189,7 @@ class AssertVisitor final : public VNVisitor {
|
||||
AstNodeStmt* const bodysp = dispp;
|
||||
replaceDisplay(dispp, "%%Error"); // Convert to standard DISPLAY format
|
||||
if (exprsp) dispp->fmtp()->exprsp()->addNext(exprsp);
|
||||
if (v3Global.opt.stopFail()) bodysp->addNext(new AstStop{nodep->fileline(), true});
|
||||
if (v3Global.opt.stopFail()) bodysp->addNext(new AstStop{nodep->fileline(), false});
|
||||
return bodysp;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user