You are on page 1of 4

Lab 10: An Introduction to

High-Speed Addition
Rebecca Sontheimer
ECEN 248-511
TA: Mehnaz Rahman
Date: November 19, 2014
Objective
The purpose of this lab is to understand why certain circuits are used for certain
purposes. We learn that a ripple carry adder is not sufficient enough for some high-speed
circuits. Therefore, in this lab we will experiment with a carry-lookahead addition for fast
addition in high-speed arithmetic units. This kind of circuit it minimizes the delay that
would be encountered in the ripple carry. This will involve the implementation of
dataflow and structural Verilog.

Design
Attached are the source codes for all of the circuits.

Results
Below are the waveforms of the various experiments throughout the lab, which
are labeled accordingly.
Experiment 1 Propagation delay with markers
Experiment 2 Test-Delay 16 (All tests passes)

Experiment 2 Test-Delay 15 (Failed tests)


Conclusion
In conclusion, this lab was successful and all of the code worked properly. This
lab showed again how important delay is in a complex circuit. The problem with a ripple
carry adder is that its propagation delay is too slow for most digital electronics. It is
basic and not practical. That is where the carry lookahead adder comes into play. This
type of unit is a better technique for binary counters and can drive a synchronous circuit
at a much faster speed.

Post-Lab Deliverables
1) Source code included in the design section.
2) Screenshots included in results.
3) Questions throughout lab manual:
a) Experiment 2: If your calculations in the prelab are correct and you correctly
added delays to your sub-modules, you should find that the computed delay
matches the measure delay. Is this the case?
i) Yes it is the case. I calculated delta-g to be 2 ns and that the coefficient was 8.
This time delay of 16 ns was exactly what the time delay ended up being for
this circuit.
4) How does the gate-count of the 16-bit carry lookahead adder compare to that of a
ripple-carry adder of the same size?
a) The 16-bit carry look-ahead adder has 82 gates in it and a 16-bit ripple carry
adder has about 80 gates (varying depending on the internal components of the
full-adders.) However, for roughly the same amount of gates the 16-bit carry
look-ahead adder as the ripple-carry adder, but the carry look-ahead works at a
significantly higher speed.
5) How does the propagation delay of the 4-bit carry lookahead adder compare to that of
a ripple-carry adder of the same size. Similarly, how does the 16-bit carry lookahead
adder compare to that of a ripple carry adder of the same size.
a) The 4-bit carry look-ahead adder the propagation delay is 3g. The 4-bit ripple
carry adder has a delay of 9g. For the 16-bit carry look-ahead adder there is a
delay of 8g and for a 16 bit ripple carry adder the delay is upwards of 33g
because it has upwards of 80 gates lined up in series for the most part. The carry
look-ahead adder has a smaller delay in both instances because it works in a more
efficient manner than the ripple carry adder. This is due to the usage of different
block units strung together to achieve a common goal using parallel circuitry
rather than a long string of full adders in series like the ripple carry adder.

Feedback
1. I liked this lab because it was very informative and useful. I liked that the lab
manual was like a tutorial with step-by-step instructions. There was nothing that I
disliked.
2. All parts were very clear and informative.
3. No need to improve this lab.

You might also like