yosys/frontends
Jannis Harder 985f4926b7 verilog: Fix const eval of unbased unsized constants
When the verilog frontend perfomed constant evaluation of unbased
unsized constants in a context-determined expression it did not properly
extend them by repeating the bit value. This only affected constant
evaluation and not constants that made it through unchanged to RTLIL.
The latter case was already covered by tests and working before.

This fixes the const-eval issue by checking the `is_unsized` flag in
bitsAsConst and extending the value accordingly.

The newly added test also tests the already working non-const-eval case
to highlight that both cases should behave the same.
2023-04-20 12:12:50 +02:00
..
aiger Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
ast verilog: Fix const eval of unbased unsized constants 2023-04-20 12:12:50 +02:00
blif fix whitespace 2022-10-10 16:31:29 +02:00
json fix handling of escaped chars in json backend and frontend 2022-02-18 17:13:09 +01:00
liberty print filename in liberty log_header 2023-01-11 21:31:46 +01:00
rpc Fitting help messages to 80 character width 2022-08-24 10:40:57 +12:00
rtlil Specify minimum bison version 3.0+ 2021-10-01 21:18:33 -06:00
verific verific: Fix enum_values support and signed attribute values 2023-03-15 09:51:36 +01:00
verilog verilog: Support void functions 2023-03-20 12:52:46 +01:00