abc9: only do +/abc9_map if `DFF
[yosys.git] / techlibs / common / abc9_map.v
index 5f1822485c1b358c4b49046c8a468d085c7527bf..57b3831d8902af2a678dfdaf5aa4980e9654bd37 100644 (file)
@@ -1,3 +1,4 @@
+`ifdef DFF
 (* techmap_celltype = "$_DFF_N_ $_DFF_P_" *)
 module $_DFF_x_(input C, D, output Q);
   parameter [0:0] _TECHMAP_WIREINIT_Q_ = 1'bx;
@@ -23,3 +24,4 @@ module $_DFF_x_(input C, D, output Q);
     $error("Unrecognised _TECHMAP_CELLTYPE_");
   endgenerate
 endmodule
+`endif