mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-25 15:09:34 +00:00
Tests: Add testcase for problematic ABC DONE check
This commit is contained in:
parent
8ea51e1479
commit
4d1b688717
3 changed files with 16 additions and 0 deletions
2
tests/techmap/bug5495.abc
Normal file
2
tests/techmap/bug5495.abc
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
fraig_store; fraig_restore
|
||||
7
tests/techmap/bug5495.sh
Executable file
7
tests/techmap/bug5495.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if ! timeout 5 ../../yosys bug5495.v -p 'hierarchy; techmap; abc -script bug5495.abc' ; then
|
||||
echo "Yosys failed to complete"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
7
tests/techmap/bug5495.v
Normal file
7
tests/techmap/bug5495.v
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
module simple(I1, I2, O);
|
||||
input wire I1;
|
||||
input wire I2;
|
||||
output wire O;
|
||||
|
||||
assign O = I1 | I2;
|
||||
endmodule
|
||||
Loading…
Add table
Add a link
Reference in a new issue