Transcript ppt
ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 14: October 8, 2010 Performance 1 Penn ESE370 Fall2010 -- DeHon Previously • Delay as RC-charging • Transistor – Capacitance – Drive Current – As a function of geometry (W/L) • Gate – Topology – Delay 2 Penn ESE370 Fall2010 -- DeHon Today • • • • • • • Miller Effect Sizing Large Fanout Data Dependent Delay Asymmetry of Inputs Impact of P & N Mobility differences Large Fanin 3 Penn ESE370 Fall2010 -- DeHon Gate-Drain Capacitance • What is the voltage across Vin—V2 – When Vin=Vdd – When Vin=Gnd • What is DV across Vin—V2 when Vin switches from Vdd to Gnd? 4 Penn ESE370 Fall2010 -- DeHon Miller Effect • For an inverting gate • Capacitance between input and output must swing 2 Vhigh • Or…acts as doublesized capacitor 5 Penn ESE370 Fall2010 -- DeHon Transistor Sizing • What happens to Ids as a function of W? VDSAT IDS satCOX W VGS VT 2 • What happens to Cg as a function of W? CG CoxWL • Conclude: faster transistors present more load on their inputs Penn ESE370 Fall2010 -- DeHon 6 First Order Delay • R0 = Resistance of minimum size NMOS device • C0 = gate capacitance of minimum size NMOS device • Rdrive = R0/W • Cg = WC0 7 Penn ESE370 Fall2010 -- DeHon Inverter Sizing • What is the impact of the delay on the middle inverter if double size of all the transistors? 8 Penn ESE370 Fall2010 -- DeHon How Size • Equal Rise and Fall mn=500cm2/Vs, mp=200cm2/Vs – Rdrive=R0/2 9 Penn ESE370 Fall2010 -- DeHon Sample Gate • Internal stages have delay • External depend on load • Assume (guarantee) all inputs same load t gate A B fanout Penn ESE370 Fall2010 -- DeHon 10 Large Fanout • What is delay if must drive fanout=100? t gate A B fanout Penn ESE370 Fall2010 -- DeHon 11 What Delay? • What is delay here? 12 Penn ESE370 Fall2010 -- DeHon How Size • How size transistors to minimize delay? 13 Penn ESE370 Fall2010 -- DeHon Try again • What is the delay here? 14 Penn ESE370 Fall2010 -- DeHon …and Again • Delay here? 15 Penn ESE370 Fall2010 -- DeHon Lesson • • • • Don’t drive large fanout with a single stage Must scale up over a number of stages …but not too many Exact number will be technology dependent 16 Penn ESE370 Fall2010 -- DeHon Lecture ended here 17 Penn ESE370 Fall2010 -- DeHon Gates 18 Penn ESE370 Fall2010 -- DeHon Data Dependent Delay • Resistance depends on input values delay depends on input data 19 Penn ESE370 Fall2010 -- DeHon How Size • Equalize rise/fall times – Rdrive=R0/2 20 Penn ESE370 Fall2010 -- DeHon How Size • For equal rise fall – Rdrive=R0/2 21 Penn ESE370 Fall2010 -- DeHon Input Load • Input capacitance in each case? 22 Penn ESE370 Fall2010 -- DeHon Observe • Ratio of Input Load Capacitance to Output Drive Strength – Differs with gate function • Some gates give more drive per capacitive load we pay 23 Penn ESE370 Fall2010 -- DeHon Which Implementation is Faster? 24 Penn ESE370 Fall2010 -- DeHon Take Away? 25 Penn ESE370 Fall2010 -- DeHon Input (A)Symmetry • If one input is known to be later than other, does it matter where it goes? 26 Penn ESE370 Fall2010 -- DeHon How Size • Equalize rise/fall times – Rdrive=R0/2 27 Penn ESE370 Fall2010 -- DeHon Increasing Fanin • What happens to input capacitance as fanin (k) increases – Keeping output drive the same • E.g. Rdrive=R0/2 • k-input nand gate has input capacitance: 28 Penn ESE370 Fall2010 -- DeHon Fanin • Gates slow down with fanin – Less drive per input capacitance 29 Penn ESE370 Fall2010 -- DeHon Which is fastest? • nand32 • nand4-inv-nand4-inv-nand2 • (nand2-inv)4-nand2 30 Penn ESE370 Fall2010 -- DeHon Lesson • Large gates are slow / inefficient – High capacitive load / drive strength • Small gates can be inefficient – Need many stages • Staging over moderate size gates minimizes delay • Exact size will be technology dependent 31 Penn ESE370 Fall2010 -- DeHon Admin • Project 1 Out – 2 week assignment – Optimizing Performance – Recommended milestones for next week • Fall Break on Monday – No class • Next Lecture Wednesday 32 Penn ESE370 Fall2010 -- DeHon Ideas • First order reason in R0C0 units • Gates have different efficiencies – Drive strength per unit input capacitance • Greater N mobility (than P) – favors nand over nor • Large fanin and fanout slow gates – Decompose into stages – …but not too much 33 Penn ESE370 Fall2010 -- DeHon