mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #3918 from povik/print-sampling-fix
ast: Substitute rvalues when parsing out print arguments
This commit is contained in:
commit
31ee566ece
|
@ -759,7 +759,7 @@ struct AST_INTERNAL::ProcessGenerator
|
||||||
arg.realtime = true;
|
arg.realtime = true;
|
||||||
} else {
|
} else {
|
||||||
arg.type = VerilogFmtArg::INTEGER;
|
arg.type = VerilogFmtArg::INTEGER;
|
||||||
arg.sig = node->genRTLIL();
|
arg.sig = node->genWidthRTLIL(-1, false, &subst_rvalue_map.stdmap());
|
||||||
arg.signed_ = is_signed;
|
arg.signed_ = is_signed;
|
||||||
}
|
}
|
||||||
args.push_back(arg);
|
args.push_back(arg);
|
||||||
|
|
Loading…
Reference in New Issue