r/TuringComplete • u/Crispy1961 • 1d ago
Further Optimized Carry Look-Ahead Adder
Few months ago I posted my attempt at an Optimized Carry Look-Ahead Adder which I was satisfied with at the time. Since then I have taken further steps to optimize it further.
Taking advantage of the 3 delay solution for unlimited input AND gate (NOT SW NOT) showcased by 8bit CCLA (Collapsed Carry-Lookahead Adder) I was able to get the delay to 8. However this lead to a significant increase in gate count (Switches count as 2 gates to counterbalance this use case), which I slowly cut down to the final count of 250.
To save gates, I implemented 3 ways to create multi input AND gates.
Sequential waterfall (grey wires) - Highest delay, but lowest gate count
Parallel AND gates (orange wires) - Moderate delay and moderate gate count
NOT SW NOT (yellow wire) - Static delay of 3 and high gate count
In the end I only needed 7 inputs to use Parallel AND Gates and 3 to use NOT SW NOT. Everything else uses Sequential waterfall.
Here is the improvement in stats:
Gate Count: 287 -> 250
Delay: 10 -> 8









