Tests: Add testcase for problematic ABC DONE check

This commit is contained in:
Krystine Sherwin
2025-11-21 14:46:01 +13:00
parent 8ea51e1479
commit 4d1b688717
3 changed files with 16 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
fraig_store; fraig_restore
+7
View 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
View File
@@ -0,0 +1,7 @@
module simple(I1, I2, O);
input wire I1;
input wire I2;
output wire O;
assign O = I1 | I2;
endmodule