3
0
Fork 0
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:
George Rennie 2024-04-26 19:16:01 +01:00
parent 34d9a7451e
commit 4e6deb53b6
3 changed files with 18 additions and 7 deletions

View 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

View file

@ -0,0 +1,5 @@
aig 3 2 0 0 1 1
6
i0 pi0
i1 pi1
b0 b0