Merge pull request #3918 from povik/print-sampling-fix

ast: Substitute rvalues when parsing out print arguments
This commit is contained in:
Martin Povišer 2023-09-11 17:08:04 +02:00 committed by GitHub
commit 31ee566ece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);