In my textbook the gate delays for the n-bit ripple adder is given as \$ 2n \$ for \$c_n\$ bits and \$ 2n-1 \$ for \$ s_n-1 \$ for the circuit as shown below:
But, for a 4-bit Carry Look Ahead Adder have 3 gate delays for all carry bits and 4 gate delays for all sum bits, while it is stated as 7 and 8 in case of ripple adders. How, was this calculated? The image of 4 bit carry look ahead adder is shown below:
Note: I represented carry bit as \$c_i\$ and sum bit as \$ s_i \$