Professional Documents
Culture Documents
• Announcements
• Quiz on 16th September 2021
• Minor Exam on 23rd September 2021
Lecture 10
C3 → 8 C2 → 6 C1 → 4
Tand,1
S3 →10 S2 → 8 S1 → 6 S0 → 4
C4 → 10 C3 → 8 C2 → 6 C1 → 4
M. Suri, ELL201, (copyright IITD) "Intended for
Academic Fair Use Only"
Recap: How to Overcome Flaws of the Ripple-Carry Adder?
Solution – Build a “Carry-Look Ahead Adder” (CLA) using Half Adders
Pi: Propagate
Gi: Generate
Use this for 4-bit adder
+
Hardware to compute the Carry terms? → All in SOP form
So just 2 Gate levels → 1 And, 1 OR
Also
called as
LAG
Start with 4
2 ns HA
2 ns
= max(Pi=2,Gi=1)
Feed their Pi
1 + 1 ns and Gi to
LAG block
LAG block
will give Ci
2 ns
Use XOR with Ci
Terms to get S
Compare with 4-bit RCA…
M. Suri, ELL201, (copyright IITD) "Intended for
Academic Fair Use Only"
Recap: 16-bit CLA
Design a 16-bit CLA using HAs, LAGs and perform a delay analysis
C4 = GI + PIC0
C8 = GII + PIIGI + PIIPIC0
C12 = GIII + PIIIGII + PIIIPIIGI + PIIIPIIPIC0
H H H H H H H H H H H H H H H H
A A A A A A A A A A A A A A A A
2 ns 2 ns 2 ns P3G3 P0G0 2 ns
C12 C8 C4
LA Gen LA Gen LA Gen LA Gen
C0
6 ns 6 ns 5 ns
4 ns 4 ns 4 ns 4 ns
C11C10C9 C7C6C5 C3 C2 C1
C15C14C13
8 ns 4 ns
8 ns PIVGIV PIIIGIII 7 ns PIIGII PIGI
LA Gen C0
Is 8 ns the answer?
What about Si ?
Si = Ci XOR Pi
So Total delay = 10 ns
Now compare with 16 – bit RCA?
M. Suri, ELL201, (copyright IITD) "Intended for
Academic Fair Use Only"
Recap: 16-bit CLA (Timing Analysis Summary)
Px, gx
LAG Block
C48 =
GIII2 + PIII2GII2 + PIII2PII2GI2 + PIII2PII2PI2C0
7. Sum → 14 ns
Compare with 64-bit RCA ?
I0
I1
2 to 1 mux
4 to 1 mux
4-bit 2 to 1 mux
M. Suri, ELL201, (copyright IITD) "Intended for
Academic Fair Use Only"
Mux – Advantage - any Logic function can be realized
1. A very efficient method: For N variable function → use Mux with N-1 lines
2. Connect first n-1 variables to selection inputs of the Mux
3. Last variable of function is used for data inputs of the mux
4. Express all data inputs in terms of last variable, its complement, 0 & 1