mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Support always / always[m:n] / s_always[m:n] property operators (#7482)
This commit is contained in:
@@ -1058,6 +1058,18 @@ class EmitVBaseVisitorConst VL_NOT_FINAL : public VNVisitorConst {
|
||||
puts("\n");
|
||||
}
|
||||
void visit(AstPExpr* nodep) override { iterateConst(nodep->bodyp()); }
|
||||
void visit(AstPropAlways* nodep) override {
|
||||
puts(nodep->isStrong() ? "s_always" : "always");
|
||||
if (!VN_IS(nodep->loBoundp(), Unbounded) || !VN_IS(nodep->hiBoundp(), Unbounded)) {
|
||||
puts(" [");
|
||||
iterateConst(nodep->loBoundp());
|
||||
puts(":");
|
||||
iterateConst(nodep->hiBoundp());
|
||||
puts("]");
|
||||
}
|
||||
puts(" ");
|
||||
iterateConst(nodep->propp());
|
||||
}
|
||||
void visit(AstSExpr* nodep) override {
|
||||
iterateConstNull(nodep->preExprp());
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user