From: Eddie Hung Date: Thu, 13 Feb 2020 17:50:17 +0000 (-0800) Subject: ecp5: remove small LUT entries X-Git-Tag: working-ls180~780^2~36 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2284715fa3399b9afe8609a1035e563393a21b0;p=yosys.git ecp5: remove small LUT entries --- diff --git a/techlibs/ecp5/cells_sim.v b/techlibs/ecp5/cells_sim.v index ff6b8ccf9..12b33e925 100644 --- a/techlibs/ecp5/cells_sim.v +++ b/techlibs/ecp5/cells_sim.v @@ -15,30 +15,8 @@ module LUT4(input A, B, C, D, output Z); endspecify endmodule -(* abc9_lut=1 *) -module \$__ABC9_LUT1 (input A, output Z); - specify - (A => Z) = 141; - endspecify -endmodule - -(* abc9_lut=1 *) -module \$__ABC9_LUT2 (input A, B, output Z); - specify - (A => Z) = 141; - (B => Z) = 275; - endspecify -endmodule - -(* abc9_lut=1 *) -module \$__ABC9_LUT3 (input A, B, C, output Z); - specify - (A => Z) = 141; - (B => Z) = 275; - (C => Z) = 379; - endspecify -endmodule - +// This is a placeholder for ABC9 to extract the area/delay +// cost of 5-input LUTs and is not intended to be instantiated // LUT5 = 2x LUT4 + PFUMX (* abc9_lut=2 *) module \$__ABC9_LUT5 (input M0, D, C, B, A, output Z); @@ -51,6 +29,8 @@ module \$__ABC9_LUT5 (input M0, D, C, B, A, output Z); endspecify endmodule +// This is a placeholder for ABC9 to extract the area/delay +// of 6-input LUTs and is not intended to be instantiated // LUT6 = 2x LUT5 + MUX2 (* abc9_lut=4 *) module \$__ABC9_LUT6 (input M1, M0, D, C, B, A, output Z); @@ -64,6 +44,8 @@ module \$__ABC9_LUT6 (input M1, M0, D, C, B, A, output Z); endspecify endmodule +// This is a placeholder for ABC9 to extract the area/delay +// of 7-input LUTs and is not intended to be instantiated // LUT7 = 2x LUT6 + MUX2 (* abc9_lut=8 *) module \$__ABC9_LUT7 (input M2, M1, M0, D, C, B, A, output Z);