mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-22 12:22:06 +00:00
read_aiger: Fix incorrect read of binary Aiger without outputs
* Also makes all ascii parsing finish reading lines and adds a small test
This commit is contained in:
parent
34d9a7451e
commit
4e6deb53b6
3 changed files with 18 additions and 7 deletions
8
tests/aiger/and_to_bad_out.aag
Normal file
8
tests/aiger/and_to_bad_out.aag
Normal file
|
@ -0,0 +1,8 @@
|
|||
aag 3 2 0 0 1 1 0 0 0
|
||||
2
|
||||
4
|
||||
6
|
||||
6 2 4
|
||||
i0 pi0
|
||||
i1 pi1
|
||||
b0 b0
|
5
tests/aiger/and_to_bad_out.aig
Normal file
5
tests/aiger/and_to_bad_out.aig
Normal file
|
@ -0,0 +1,5 @@
|
|||
aig 3 2 0 0 1 1
|
||||
6
|
||||
i0 pi0
|
||||
i1 pi1
|
||||
b0 b0
|
Loading…
Add table
Add a link
Reference in a new issue