$__ICE40_CARRY_WRAPPER to use _TECHMAP_REPLACE_ for SB_CARRY to preserve
authorEddie Hung <eddie@fpgeh.com>
Tue, 3 Dec 2019 22:49:10 +0000 (14:49 -0800)
committerEddie Hung <eddie@fpgeh.com>
Tue, 3 Dec 2019 22:49:10 +0000 (14:49 -0800)
name and attr

techlibs/ice40/cells_map.v

index 662423f0ae2f198a0ee49387476e010e49e827be..efd763ef6f9c108c3eeac1b54df01c7ce0ddadc2 100644 (file)
@@ -65,7 +65,7 @@ endmodule
 `ifndef NO_ADDER
 module \$__ICE40_CARRY_WRAPPER (output CO, O, input A, B, CI, I0, I3);
   parameter LUT = 0;
-  SB_CARRY carry (
+  SB_CARRY _TECHMAP_REPLACE_ (
     .I0(A),
     .I1(B),
     .CI(CI),