1
0
mirror of synced 2026-01-29 21:40:57 +00:00
Files
YosysHQ.yosys/kernel
Charlotte d9e4582558 fmt: handle part with unspecified padding in emit_rtlil
e.g. `$displayh(8'ha)` won't have a padding set, because it just gets
`lzero` set instead by `compute_required_decimal_places`.

It also doesn't have a width.  In this case, we can just fill in a dummy
(unused) padding.  Either space or zero would work, but space is a bit
more distinct given the width field follows.

Also omit writing the width if it's zero.  This makes the emitted ilang
a little cleaner in places; `{8:> h0u}` is the output for this example,
now.  The other possible extreme would be `{8:>00h0u}`.
2023-08-11 04:46:52 +02:00
..
2022-11-30 18:24:35 +01:00
2022-01-28 23:34:41 +01:00
2023-08-11 04:46:52 +02:00
2022-05-27 12:37:03 +02:00
2021-10-08 15:44:07 +02:00
2023-08-11 04:46:52 +02:00
2022-05-13 00:37:14 +02:00
2022-01-28 23:34:41 +01:00
2022-11-30 18:24:35 +01:00
2023-04-17 10:53:05 -07:00
2023-01-11 18:07:16 +01:00