mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix delayed assignment malformed LHS assertion (#5904).
This commit is contained in:
+2
-2
@@ -347,8 +347,8 @@ class DelayedVisitor final : public VNVisitor {
|
||||
arrSelp->bitp(captureVal(scopep, insertp, arrSelp->bitp()->unlinkFrBack(), tmpName));
|
||||
nodep = arrSelp->fromp();
|
||||
}
|
||||
// What remains must be an AstVarRef
|
||||
UASSERT_OBJ(VN_IS(nodep, VarRef), lhsp, "Malformed LHS in NBA");
|
||||
// What remains must be an AstVarRef, or some sort of select, we assume can reuse it.
|
||||
UASSERT_OBJ(nodep->isPure(), lhsp, "Malformed LHS in NBA");
|
||||
// Now have been converted to use the captured values
|
||||
return lhsp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user