3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-19 10:52:03 +00:00

fixup! const2ast: add diagnostics tests

This commit is contained in:
Emil J. Tywoniak 2025-06-16 22:50:31 +02:00
parent 49cd3887a7
commit 4276756f32

View file

@ -1,6 +1,7 @@
logger -expect prefix-error "<<EOT:2: ERROR: Digit larger than 1 used in in base-2 constant." 1
read_verilog <<EOT
module test (y);
output signed [2:0] y = 1'b1;
output signed [2:0] y = 1'bf;
endmodule
EOT
dump