Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 3: September 13, 2010 Gates from Transistors 1 Penn ESE370 Fall2010 -- DeHon Previously • Simplified models for reasoning about transistor circuits – Zeroth-order – First-order 2 Penn ESE370 Fall2010 -- DeHon Today • How to construct static CMOS gates 3 Penn ESE370 Fall2010 -- DeHon Outline • Circuit understanding (preclass) • Static CMOS – Structure – Inverter – Construct gate – Inverting – Cascading 4 Penn ESE370 Fall2010 -- DeHon What gate? 5 Penn ESE370 Fall2010 -- DeHon What function? 6 Penn ESE370 Fall2010 -- DeHon DeMorgan’s Law • /f = a + b • What is f? 7 Penn ESE370 Fall2010 -- DeHon What function? 8 Penn ESE370 Fall2010 -- DeHon Static CMOS Gate 9 Penn ESE370 Fall2010 -- DeHon Static CMOS Gate Structure 10 Penn ESE370 Fall2010 -- DeHon Static CMOS Gate Structure 11 Penn ESE370 Fall2010 -- DeHon Static CMOS Gate Structure • Drives rail-to-rail • Input load is capacitive • Once charge capacitive output, doesn’t use energy – (first order) • Output actively driven 12 Penn ESE370 Fall2010 -- DeHon Inverter • Out = /in 13 Penn ESE370 Fall2010 -- DeHon Inverter 14 Penn ESE370 Fall2010 -- DeHon Gate Design Example 15 Penn ESE370 Fall2010 -- DeHon Gate Design • Design gate to perform: f=(/a+/b)*/c 16 Penn ESE370 Fall2010 -- DeHon f=(/a+/b)*/c • Strategy: 1. Use static CMOS structure 2. Design PMOS pullup for f 3. Use DeMorgan’s Law to determine /f 4. Design NMOS pulldown for /f 17 Penn ESE370 Fall2010 -- DeHon f=(/a+/b)*/c • PMOS Pullup for f? 18 Penn ESE370 Fall2010 -- DeHon f=(/a+/b)*/c • What is /f ? 19 Penn ESE370 Fall2010 -- DeHon f=(/a+/b)*/c • NMOS Pulldown for /f? 20 Penn ESE370 Fall2010 -- DeHon f=(/a+/b)*/c a c b 21 Penn ESE370 Fall2010 -- DeHon Inverting Gate 22 Penn ESE370 Fall2010 -- DeHon Inverting Stage • Each stage of Static CMOS gate is inverting 23 Penn ESE370 Fall2010 -- DeHon Why not? 24 Penn ESE370 Fall2010 -- DeHon Source/Drain Clarity • Source is: – Most negative terminal NMOS • source of the elecrons – Most positive terminal PMOS • Source of holes 25 Penn ESE370 Fall2010 -- DeHon Source Drain Annotation S D S S D D D S D D S S 26 Penn ESE370 Fall2010 -- DeHon Static CMOS Source/Drains • With PMOS on top, NMOS on bottom – PMOS source always at top (near Vdd) – NMOS source always at bottom (near Gnd) 27 Penn ESE370 Fall2010 -- DeHon Why not buffer? D S S D 28 Penn ESE370 Fall2010 -- DeHon Why not buffer? • Output signal not drive to rails • One threshold voltage away • True any time use PMOS/NMOS on “wrong” side 29 Penn ESE370 Fall2010 -- DeHon How do we buffer? 30 Penn ESE370 Fall2010 -- DeHon How implement OR? 31 Penn ESE370 Fall2010 -- DeHon Cascading Stages 32 Penn ESE370 Fall2010 -- DeHon Stages • Can always cascade “stages” to build more complex gates • Could simply build nor2 at circuit level and assemble arbitrary logic by combining – universality – but may not be smallest/fastest/least power 33 Penn ESE370 Fall2010 -- DeHon Implement: f=a*/b • Pullup? • Pulldown? 34 Penn ESE370 Fall2010 -- DeHon f=a*/b 35 Penn ESE370 Fall2010 -- DeHon Admin • Wednesday in Detkin (RCA) Lab – Note prelab to design gates before lab • Office Hours: – Townley T1-2pm in Ketterer • (1:15pm-2pm this week) – DeHon T4:30pm in Moore/GRW 262 • (only to 5pm this week) • Friday back here + HW1 due (blackboard) 36 Penn ESE370 Fall2010 -- DeHon Big Idea • Systematic construction of any gate from transistors 37 Penn ESE370 Fall2010 -- DeHon