Interconnect (2) Buffering Techniques.Transmission Lines Lecture 12 18-322 Fall 2003
A few announcements Partners Lab Due Times Midterm 1 is nearly here Date: 10/14/02, time: 3:00-4:20PM, place: in class (DH2210) Material required: Lec1 Lec13 (including Lec13) Closed books, closed notes! (Calculators OK) Review session: Monday 10/13/02, 4:30-6:00PM in DH2210 (To Be Confirmed!) Final Exam scheduled for 12/16/02 (8:30a.m.-11:30a.m.)
Overview Electrical wire models Lumped RC model Distributed rc line Designing gates for performance Progressive sizing Input re-ordering Driving large capacitances Buffering techniques Addressing Coupling Capacitance, Resistance and Inductance 3
Overview Designing gates for performance Progressive sizing Input re-ordering Driving large capacitances Buffering techniques Addressing Coupling Capacitance, Resistance and Inductance 4
Design for Performance Reduce C L keep the drain diffusion as small as possible interconnect capacitance fanout Increase W/L ratio of the transistor the most effective performance optimization tool for the designer Increase V DD can trade-off energy for performance increasing V DD above a certain level yields only minimal improvement reliability concerns enforce a firm upper bound on V DD Slope engineering keeping signal rise and fall times smaller than or equal to the gate propagation delays and of approximately equal values good for performance good for power consumption Irwin&Vijay, PSU, CSE 477, 2002
NMOS/PMOS Ratio So far we have sized the PMOS and NMOS so that the R eq s match symmetrical VTC equal high-to-low and low-to-high propagation delays If speed is the main concern Use minimum channel length (smallest possible L for all FETs) Finding the width W that minimizes delay is more difficult Reduce the width of the PMOS device Widening the PMOS degrades the t phl due to larger parasitic capacitances Widening both PMOS and NMOS by a factor S reduces Req by an identical factor (R eq = R ref /S), but raises the intrinsic capacitance by the same factor (C int = SC iref )
Driving Large Capacitances inv1 R line inv2 C line V DD V DD p. 204 in book V in P1 V out P2 C i N1 C L N2 β opt = r(1 + C w /(c dn + cdn)) If C W ~ 0; ε = 2.5 => α sqrt(2.5) = 1.6
Fast Complex Gates - Design Technique 1 Transistor Sizing: As long as Fan-out Capacitance dominates Progressive Sizing: M1 > M2 > M3 > MN Out V DD In N MN C L In 3 In 2 M3 M2 C 3 C 2 Distributed RC-line In 1 M1 C 1 Can Reduce Delay with more than 25%! In 1 In 2
Long N-Chains: Progressive Sizing In N (1) MN Out C L output voltage V DD 1 2 3 In 3 (1) M3 C 3 T 1 (0.38RC) In 2 (1) M2 C 2 T 2 (0.69RC) In 1 (1) M1 C 1 T d time
Progressive Sizing (cont d) Out Out In N (1) MN C L C eq C L R X C L In 3 (1) M3 C 3 R 3 C 3 In 2 (1) M2 C 2 R 2 C 2 In 1 (1) M1 C 1 R 1 C 1 T d = R 1 C 1 + (R 1 +R 2 )C 2 + + (R 1 +R 2 + + R X )C L
Fast Complex Gates: Design Technique 2 Input re-ordering when not all inputs arrive at the same time critical path critical path In 3 1 In 2 1 In 1 0 1 charged 0 1 M3 C In 1 L M3 C charged L In 1 M2 C 2 2 charged M2 C2 discharged M1 charged In 3 1 M1 C discharged 1 C 1 delay determined by time to discharge C L, C 1 and C 2 delay determined by time to discharge C L
Overview Designing gates for performance Progressive sizing Input re-ordering Driving large capacitances Buffering techniques Addressing Coupling Capacitance, Resistance and Inductance 12
Reducing Wire Delay L L/2 L/2 rc L 2 /2 t inv + 2rc/2 (L/2) 2 As long as t inv is smaller than half the wire delay, the total delay may be reduced by inserting an inverter! 1mm 1mm r = 20Ω/µm c = 4 10-4 pf/µm t1 = 0.69 4 10-15 L 2 (delay of a 1mm section) tp = 2.8 10-15 (1000) 2 + t inv + 2.8 10-15 (1000) 2 = 5.6ns + t inv (< 11.2 ns when inv is missing)
Single Inverter Buffer V DD V DD β V in C i 1 β u u V out C L = xc i Q: what value of u minimizes the propagation delay through (inv + buffer)? buffer u = x t p,opt = 2t p0 x
Buffer Sizing 1 α 1 Rb Rb/α R αcb C/2 C/2 Cb α opt = sqrt(1 + C/C b )
Using Cascaded Buffers If C L is given How should the inverters be sized? How many stages are needed to minimize the delay? In 1 u u 2 u N Out C i C 1 C 2 C L u opt = e t p,opt = e t p0 ln(c L /C i )
t p as function of u and x 60.0 u/ln(u) 40.0 x=10,000 x=1000 20.0 x=100 x=10 0.0 1.0 3.0 5.0 7.0 u
Overview Electrical wire models Lumped RC model Distributed rc line Designing gates for performance Progressive sizing Input re-ordering Driving large capacitances Buffering techniques Addressing Coupling Capacitance, Resistance and Inductance 18
Coupling C x C = C x C x C = 0 C x C = 2C x Very Difficult to Analyze
Ground Planes and Shields Reduce Coupling Capacitance Metal3 GND Metal2 Metal1 GND Does not reduce capacitance Can increase it Moves it to known value
Wire Spacing Increased wire spacing Decreases Capacitance Increases Area Double the space = Half the coupling
Wire Widening Wire Widening Resistance decreases Cap increases, but not enough to compensate Fringe remains constant Assume L >> W R(C p + C f ) R/2(2C p + C f )
Wire Tapering Elmore delay: Low R is more important near source Design for minimal wire delay Step approximation:
Power Distribution Three issues: Ohmic (IR) drop Supply current to VDD and GND Gates do not see full voltage Electro-migration Electrons move metal ions
Ohmic Drop V IR What if V IR > V T? Narrow noise margins
Ohmic Drop Voltage drop increases gate delay Solutions: Resistance is the enemy Decrease length to supply Increase width Use thicker metal layers (top layer) Capacitance is actually GOOD! Averages out peaks in current
Power Distribution Schemes V DD GND Logic Logic V DD V DD GND (a) Finger-shaped network GND (b) Network with multiple supply pins
IR drop Analysis
Electro-migration Electrons move metal ions Directional (DC current) Not so bad Ions move back and forth Usually creates open, eventually Bad To avoid: keep current density below limit
Picture Break
Inductance Sources: Bonding wires PCB strip lines On-chip lines with very fast rise/fall times Impact: Power distribution, IOs Transmission line behavior
Inductance: L di/dt Resistance to change of current Overshoot Ringing
L di/dt effects Overshoot 5 V out (V) 4 3 2 RC RLC 1 1 0 2 3 4 5 Time (ns)
Damping 5 Overdamped: (R/2L) 2 > 1/LC R 2 > 4L/C V out (V) 4 3 2 RC RLC 1 0 1 2 3 4 5 5 Underdamped: (R/2L) 2 < 1/LC R 2 < 4L/C V out (V) 4 3 2 1 RC RLC 0 1 2 3 4 5 Time (ns)
Underdamped Response: Ringing 5 V out (V) 4 3 2 RC RLC What if this is low enough to turn on PMOS again? 1 1 0 2 3 4 5 Time (ns)
L di/dt Solutions Reduce Package Lead Inductance 1 Power pin pair for each 5-10 output drivers Improved packaging Decoupling capacitors Local supply Low pass filter, remove high frequency noise
Packaging Options Wire Bonding Substrate Die Pad Lead Frame
Flip-chip Bonding Die Solder bumps Interconnect layers Substrate
Transmission Lines ICs obey the laws of physics: Signals do take time to propagate Lossy: Lossless:
Lossless T-Lines v prop = 1/sqrt( l c ) = 1/sqrt( εµ) Vacuum : 30 cm/ns SiO 2 : 15 cm/ns PC board: 13 cm/ns
Reflections
More Reflections 5.0 4.0 V 3.0 2.0 V Dest V Source 1.0 0.0 4.0 3.0 R S = 5Z 0 (a) V 2.0 1.0 0.0 8.0 6.0 R S = Z 0 (b) V 4.0 2.0 R S = Z 0 /5 0.0 0.0 5.0 t (in t 10.0 15.0 lightf ) (c)
When to consider T-L?