Professional Documents
Culture Documents
Mod 31
Mod 31
Shifter
Crossbar switch
Design of ALU subsystem
Adder Element
4-bit datapath for processor
Ak Bk Previous Carry Sum New Carry
Ck-1 Sk Ck
0
0
1
0
0
0
1
0
1 0 0 1 0
1 1 0 0 1
0 0 1 1 0
0 1 1 0 1
1 0 1 0 1
1 1 1 1 1
From TT,
For sum, If Ak=Bk, then Sk = Ck-1 else Sk=Ck-1’
For carry, If Ak=Bk, then Ck = Ak = Bk* else Ck=Ck-1
Bk* represents Carry, Ck = 1 when Ak=Bk =1
Ck = 0 when Ak=Bk = 0
Standard Adder element
cmos layout
24+16 = 40
Multiplexer:
6-bit CSA
• N-bit Adder, computation time is, T=nK 1 where K1 is the delay through one adder.
• If adder is divided into blocks, with each block contains 2 adder cells, T= K 1 n/2 +K2, where K2 is
delay through the MUX
• Let n-bit adder be divided into M blocks and let each block contain ‘P’ adder cells in series (i.e
n=MP)
• Completion time is the sum of the propagation delay through the MUXes, T= PK 1 +(M-1) K2
• To obtain Tmin, Differentiate w.r.t ‘M’ and equate to ‘0’
• For minimum value for T, M = √(nK1/K2)
Carry Skip Adder
Working
Delay Calculation:
Critical path = (All MUX triggers without skip + first and last MUX
triggers with skip) + (All adders are ON without skip + skip
paths are enclosed between first and last block with skip)
T = (MK2 + 2K2) + [PK1 +(P-2) K1]
T = 2(P-1)K1 + (M+2)K2
Carry Skip Adder
Computation Time:
• T= 2(P-1)K1 + (M+2)K2
• M= √(2nK1/K2 )
Carry Look Ahead Adder
• jh
Comparison of adder
Adder Type Computation Time Area Occupied Speed increase
factor