diff --git a/tests/techmap/abc_new_box.ys b/tests/techmap/abc_new_box.ys new file mode 100644 index 000000000..0df2a0380 --- /dev/null +++ b/tests/techmap/abc_new_box.ys @@ -0,0 +1,18 @@ +read_verilog -icells -specify < o) = 1; +endspecify +endmodule + +module top(input a, input b, output o); + wire z; + $_AND_ gate(.A(a), .B(b), .Y(o)); + box1 u_box(.i(a), .o(z)); +endmodule +EOT + +hierarchy -check -top top +abc_new -script "+&scorr;&sweep;&dc2;&dch,-f;&nf,{D}" -liberty ../../examples/cmos/cmos_cells.lib +select -assert-min 1 t:* diff --git a/tests/techmap/abc_new_equiv_opt.ys b/tests/techmap/abc_new_equiv_opt.ys new file mode 100644 index 000000000..9976859c6 --- /dev/null +++ b/tests/techmap/abc_new_equiv_opt.ys @@ -0,0 +1,14 @@ +read_verilog <