abc_state merge

This commit is contained in:
Akash Levy 2025-11-06 03:24:59 -08:00
commit 78b1aed973
2 changed files with 30 additions and 0 deletions

4
tests/techmap/README.md Normal file
View File

@ -0,0 +1,4 @@
# Disabled tests
- abc_state.ys: need to update to get this

View File

@ -0,0 +1,26 @@
read_verilog <<EOT
module simple(I1, I2, O);
input wire I1;
input wire I2;
output wire O;
assign O = I1 | I2;
endmodule
EOT
abc -g all
design -reset
read_verilog <<EOT
module simple(I1, I2, O);
input wire I1;
input wire I2;
output wire O;
assign O = I1 | I2;
endmodule
EOT
techmap
abc -g AND
select -assert-count 0 t:$_OR_
select -assert-count 1 t:$_AND_