ice40: Fix typo in SB_CARRY specify for LP/UltraPlus
authorSylvain Munaut <tnt@246tNt.com>
Tue, 17 Aug 2021 08:21:04 +0000 (10:21 +0200)
committerMarcelina Koƛcielnicka <mwk@0x04.net>
Tue, 17 Aug 2021 12:33:30 +0000 (14:33 +0200)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
techlibs/ice40/cells_sim.v

index 0f28e22701569ed49af3344e1820ec1f6db359ca..f33e92488e6b7add0a8fbe11e2fd04539e039a9c 100644 (file)
@@ -244,7 +244,7 @@ module SB_CARRY (output CO, input I0, I1, CI);
                // https://github.com/YosysHQ/icestorm/blob/be0bca0230d6fe1102e0a360b953fbb0d273a39f/icefuzz/timings_lp1k.txt#L82
                (I0 => CO) = (382, 362);
                // https://github.com/YosysHQ/icestorm/blob/be0bca0230d6fe1102e0a360b953fbb0d273a39f/icefuzz/timings_lp1k.txt#L85
-               (I0 => CO) = (341, 196);
+               (I1 => CO) = (341, 196);
        endspecify
 `endif
 `ifdef ICE40_U
@@ -254,7 +254,7 @@ module SB_CARRY (output CO, input I0, I1, CI);
                // https://github.com/YosysHQ/icestorm/blob/be0bca0230d6fe1102e0a360b953fbb0d273a39f/icefuzz/timings_up5k.txt#L94
                (I0 => CO) = (675, 662);
                // https://github.com/YosysHQ/icestorm/blob/be0bca0230d6fe1102e0a360b953fbb0d273a39f/icefuzz/timings_up5k.txt#L97
-               (I0 => CO) = (609, 358);
+               (I1 => CO) = (609, 358);
        endspecify
 `endif
 endmodule