From d2284715fa3399b9afe8609a1035e563393a21b0 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Thu, 13 Feb 2020 09:50:17 -0800 Subject: ecp5: remove small LUT entries --- techlibs/ecp5/cells_sim.v | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) 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); -- cgit v1.2.3