mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Signed-off-by: Krzysztof Bieganski <[email protected]>
This commit is contained in:
@@ -1162,6 +1162,17 @@ class EmitVBaseVisitorConst VL_NOT_FINAL : public VNVisitorConst {
|
||||
}
|
||||
iterateAndNextConstNull(nodep->stmtsp());
|
||||
}
|
||||
void visit(AstWait* nodep) override {
|
||||
puts("wait(");
|
||||
iterateConst(nodep->condp());
|
||||
puts(")");
|
||||
if (nodep->stmtsp()) {
|
||||
puts(" ");
|
||||
iterateAndNextConstNull(nodep->stmtsp());
|
||||
} else {
|
||||
puts(";\n");
|
||||
}
|
||||
}
|
||||
void visit(AstCAwait* nodep) override {
|
||||
AstCMethodHard* methodp = VN_CAST(nodep->exprp(), CMethodHard);
|
||||
UASSERT_OBJ(methodp, nodep, "AstCAwait expression must be an AstCMethodHard");
|
||||
|
||||
Reference in New Issue
Block a user