abc9: aAdd test to check $_NOT_s are absorbed
authorEddie Hung <eddie@fpgeh.com>
Wed, 15 Jan 2020 22:36:05 +0000 (14:36 -0800)
committerEddie Hung <eddie@fpgeh.com>
Wed, 15 Jan 2020 22:36:05 +0000 (14:36 -0800)
tests/techmap/abc9.ys

index 20f263da83d6ca5526864e318d30ab481850ab73..62b5dfef630e4421a3de24558d8aa30234fb48f1 100644 (file)
@@ -38,3 +38,15 @@ abc9 -lut 4
 design -load gold
 scratchpad -copy abc9.script.flow3 abc9.script
 abc9 -lut 4
+
+
+design -reset
+read_verilog -icells <<EOT
+module top(input a, b, output o);
+assign o = ~(a & b);
+endmodule
+EOT
+abc9 -lut 4
+clean
+select -assert-count 1 t:$lut
+select -assert-none t:$lut t:* %D