mirror of https://github.com/YosysHQ/yosys.git
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:
parent
d4d951657f
commit
2d0fc040cf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue