mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Add assertion on firing event inside class (#5597)
This commit is contained in:
@@ -891,6 +891,7 @@ class DelayedVisitor final : public VNVisitor {
|
||||
ifp->addThensp(newp);
|
||||
}
|
||||
|
||||
UASSERT_OBJ(m_activep, nodep, "No active to handle FireEvent");
|
||||
AstActive* const activep = new AstActive{flp, "nba-event", m_activep->sensesp()};
|
||||
m_activep->addNextHere(activep);
|
||||
activep->addStmtsp(prep);
|
||||
|
||||
Reference in New Issue
Block a user