Closed whitequark closed 6 months ago
@mmicko I need to have these in the next Yosys release to meet the current Amaranth release schedule. The PR should be done by the 1st or very shortly after.
This looks like it overlaps or supersedes #4192.
@povik I think there's actually no overlap? Note VerilogFmtArg
vs FmtPart
.
Right you are
This is a work-in-progress PR at the moment.
H
format type (uppercase hex digits)c
format type (Unicode code point emitted as UTF-8)=
justification (align right, but after the padding)` sign mode (either
-or
, as opposed to either
-or
+`)_
option (insert an underscore between each 3 decimal, 4 binary/octal/hex digits)#
option (insert0x
/0o
/0b
after sign and before padding)0
padding and_