1
0
mirror of synced 2026-02-10 18:39:50 +00:00
Files
YosysHQ.yosys/backends
whitequark 4ff44d85a5 write_verilog: dump zero width constants correctly.
Before this commit, zero width constants were dumped as "" (empty
string). Unfortunately, 1364-2005 5.2.3.3 indicates that an empty
string is equivalent to "\0", and is 8 bits wide, so that's wrong.

After this commit, a replication operation with a count of zero is
used instead, which is explicitly permitted per 1364-2005 5.1.14,
and is defined to have size zero. (Its operand has to have a non-zero
size for it to be legal, though.)

Fixes #948 (again).
2019-07-16 21:00:09 +00:00
..
2019-07-09 09:35:09 -07:00
2019-06-27 11:20:15 -07:00
2019-06-21 20:01:40 +02:00