Download presentation
Presentation is loading. Please wait.
1
VLSI Digital System Design Datapath Operations and Ripple-Carry Add
2
Structured Design Qualities 1.Hierarchy 2.Regularity 3.Modularity 1.Well-defined interface 4.Locality 1.Information hiding
3
Magnitude Comparator Example 1.Separate data path from control blocks - = 0 0101 a b Control z Data path Control blocks
4
Datapath Organization ● Design one bit slice, then replicate it b1b1 a1a1 -= 0mux z1z1 b0b0 a0a0 -= 0mux z0z0 b3b3 a3a3 -= 0mux z3z3 b2b2 a2a2 -= 0mux z2z2 Control Direction of data flow Directions of control flow Data path Control blocks
5
Full Adder Truth Table ● cabsco = carry out 00000 00110 01010 01101 10010 10101 11001 11111 ● s= a ^ b ^ c(1 or 3 inputs high) ● co= ab + ac + bc(2 or 3 inputs high)
6
Full Adder Equations ● s= a ^ b ^ c(1 or 3 inputs high) ● co= ab + ac + bc(2 or 3 inputs high) = ab + c(a + b) a b c a b co c s a b
7
Exclusive-Or Pull-Up Network Common Subexpression Elimination ● s = cab + ca'b' + c'a'b + c'ab' (1 or 3 inputs high) a' b' c' a b a c a' b' c' a b a b' c a' b c b' c' a b a b' c a' b
8
Exclusive-Or Pull-Down Network Common Subexpression Elimination ● s' = ba'c + bac' + b'ac + b'a'c' (0 or 2 inputs high) a' b c a c' a b' a' b c a b c' a b' c a' b' c' a' b c a c' a b' c a' c'
9
Exclusive-Or Circuit ● s = abc + ab'c' + a'b'c + a'bc' b' c' s a' b c a b' c' a b a c a' b c a c' a b' a'
10
Carry Pull-Up Network ● co= ab + ac + bc = bc + a(b + c) = ac + b(a + c) = ab + c(a + b) a' b' a' c' b'
11
Carry Pull-Down Network ● co'= ( a* b+ c*( a+ b ) )' = ( a* b )'*( c*( a+ b ) )' = ( a'+ b' )*( c'+( a+ b )' ) = ( a'+ b' )*( c'+ a'* b' ) a' b' a' b' c'
12
Carry Circuit ● co= ab + c(a + b) co a' b' a' b' c' a' b' a' c' b'
13
Full Adder Circuit ● s= abc + ab'c' + a'b'c + a'bc' ● co= ab + c(a + b) b' c' a' b c a co a' b' a' b' c' a' b' a' c' b' s a' b' c' a b a c a' b c a c' a b' a'
14
Alternative Sum Equation ● cabscoco' 000001 001101 010101 011010 100101 101010 110010 111110 ● s= abc + co'(a + b + c)
15
Alternative Carry Out Circuit ● s= abc + co'(a + b + c) ● cp= co' = ( ab + c(a + b) )' cp a b a b c a b a c b
16
Alternative Sum Pull-Down Network ● s'= ( abc + cp(a + b + c) )' a b abc cp c
17
Alternative Full Adder Circuit ● cp'= ( ab + c(a + b) )' ● s'= ( abc + cp(a + b + c) )' a b abc cp c bc a a b c a b a b c a b a c b co s
18
Ripple-Carry Adder ● Total add time = n*(delay of one FA) b1b1 a1a1 FA b0b0 a0a0 b3b3 a3a3 b2b2 a2a2 s2s2 s1s1 s0s0 s3s3 carry in carry out Critical path
19
Faster Ripple-Carry Adder ● Delete carry inverter in alternate Fas b1b1 a1a1 b0b0 a0a0 b3b3 a3a3 b2b2 a2a2 s2s2 s1s1 s0s0 s3s3 carry in carry out FA Critical path
20
Ripple-Carry Subtractor ● a – b = a + (~b) + 1 b1b1 a1a1 FA b0b0 a0a0 b3b3 a3a3 b2b2 a2a2 s2s2 s1s1 s0s0 s3s3 carry in carry out
21
Ripple-Carry Adder-Subtractor ● Conditionally invert b ● Conditionally assert carry in b1b1 a1a1 FA b0b0 a0a0 b3b3 a3a3 b2b2 a2a2 s2s2 s1s1 s0s0 s3s3 subtract carry out
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.