ast: Substitute rvalues when parsing out print arguments

Apply the local substitutions stemming from process context when parsing
out format arguments to `$display` or other statements.
This commit is contained in:
Martin Povišer 2023-09-05 21:40:24 +02:00
parent d4d951657f
commit 2d0fc040cf
1 changed files with 1 additions and 1 deletions

View File

@ -759,7 +759,7 @@ struct AST_INTERNAL::ProcessGenerator
arg.realtime = true;
} else {
arg.type = VerilogFmtArg::INTEGER;
arg.sig = node->genRTLIL();
arg.sig = node->genWidthRTLIL(-1, false, &subst_rvalue_map.stdmap());
arg.signed_ = is_signed;
}
args.push_back(arg);