Skip to content

Commit

Permalink
Merge pull request #3918 from povik/print-sampling-fix
Browse files Browse the repository at this point in the history
ast: Substitute rvalues when parsing out print arguments
  • Loading branch information
povik authored Sep 11, 2023
2 parents 5bef9b4 + 2d0fc04 commit 31ee566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/ast/genrtlil.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 31ee566

Please sign in to comment.