Fix loss of V3Simulate on expression statements.
This commit is contained in:
parent
16586d1d37
commit
fbf2e59c85
|
|
@ -863,6 +863,12 @@ private:
|
|||
|
||||
void visit(AstComment*) override {}
|
||||
|
||||
void visit(AstStmtExpr* nodep) override {
|
||||
if (jumpingOver(nodep)) return;
|
||||
checkNodeInfo(nodep);
|
||||
iterateChildren(nodep);
|
||||
}
|
||||
|
||||
void visit(AstJumpBlock* nodep) override {
|
||||
if (jumpingOver(nodep)) return;
|
||||
iterateChildren(nodep);
|
||||
|
|
|
|||
|
|
@ -2,4 +2,6 @@
|
|||
: ... In instance t
|
||||
27 | assert property (disable iff (val == 0) check(1, 1));
|
||||
| ^~
|
||||
%Error: Exiting due to
|
||||
%Error: Internal Error: t/t_assert_disable_bad.v:21:7: ../V3Ast.cpp:#: Adding to non-empty, non-list op2
|
||||
21 | @(posedge clk)
|
||||
| ^
|
||||
|
|
|
|||
Loading…
Reference in New Issue