mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-12 02:04:44 +00:00
aiger: add regression test for sliced output segfault
This commit is contained in:
parent
2522bcd492
commit
cbf069849e
1 changed files with 10 additions and 0 deletions
10
tests/aiger/io.ys
Normal file
10
tests/aiger/io.ys
Normal file
|
@ -0,0 +1,10 @@
|
|||
read_verilog <<EOF
|
||||
module bad(
|
||||
input in,
|
||||
output reg [1:0] out
|
||||
);
|
||||
assign out = {in, 1'b0};
|
||||
endmodule
|
||||
EOF
|
||||
proc
|
||||
write_aiger -vmap /dev/null /dev/null
|
Loading…
Add table
Add a link
Reference in a new issue