Example: bankruptcy

EEC 116 Lecture #5: CMOS Logic

EEC 116 Lecture #5: cmos LogicRajeevan Amirtharajah Bevan BaasUniversity of California, DavisJeff ParkhurstIntel CorporationAmirtharajah, EEC 116 Fall 20112 Announcements Quiz 1 today! Lab 2 reports due this week Lab 3 this week HW 2 due this Wednesday at 4 PM in box, Kemper 2131 Amirtharajah, EEC 116 Fall 20113 Outline Review: cmos inverter Transient Characteristics Review: inverter Power Consumption Combinational MOS Logic Circuits: Rabaey (Kang & Leblebici, ) Combinational MOS Logic Transient Response AC Characteristics, Switch ModelAmirtharajah, EEC 116 Fall 20114 Review: cmos inverter VTCP linearN cutoffP linearN satP satN satP satN linearP cutoffN linearAmirtharajah, EEC 116 Fall 20115 Review.

Equivalent InverterCMOS gates: many paths to Vdd and Gnd – Multiple values for V M, V IL, V IH, etc – Different delays for each input combination • Equivalent inverter – Represent each gate as an inverter with appropriate device width – Include only transistors which are on or switching –Cacualelt V M, delays, etc using ...

Tags:

  Cmos, Inverter

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of EEC 116 Lecture #5: CMOS Logic

1 EEC 116 Lecture #5: cmos LogicRajeevan Amirtharajah Bevan BaasUniversity of California, DavisJeff ParkhurstIntel CorporationAmirtharajah, EEC 116 Fall 20112 Announcements Quiz 1 today! Lab 2 reports due this week Lab 3 this week HW 2 due this Wednesday at 4 PM in box, Kemper 2131 Amirtharajah, EEC 116 Fall 20113 Outline Review: cmos inverter Transient Characteristics Review: inverter Power Consumption Combinational MOS Logic Circuits: Rabaey (Kang & Leblebici, ) Combinational MOS Logic Transient Response AC Characteristics, Switch ModelAmirtharajah, EEC 116 Fall 20114 Review: cmos inverter VTCP linearN cutoffP linearN satP satN satP satN linearP cutoffN linearAmirtharajah, EEC 116 Fall 20115 Review.

2 Logic Circuit Delay For cmos (or almost all Logic circuit families), only one fundamental equation necessary to determine delay: Consider the discretized version: Rewrite to solve for delay: Only three ways to make faster Logic : C, V, IdtdVCI=tVCI =IVCt = Amirtharajah, EEC 116 Fall 20116 Review: inverter Delays + + =1)(4ln2)(,0,0,0,0 OLOHnTOHnTOHnTnTOHnLPHLVVVVVVVVVkCt + + =1)(4ln2)(,0,0,0,0 OLOHpTOLOHpTOLOHpTpTOLOHpLPLHVVVVVVVVVVV VkCt High-to-low and low-to-high transitions (exact): Similar exact method to find rise and fall times Note: to balance rise and fall delays (assuming VOH= VDD, VOL= 0V, and VT0,n=VT0,p) = pnnpLWLW 1=npkkAmirtharajah, EEC 116 Fall 20117 Review.

3 inverter Power Consumption Static power consumption (ideal) = 0 Actually DIBL (Drain-Induced Barrier Lowering), gate leakage, junction leakage are still present Dynamic power consumptionfVCVCTPDD loadDDloadavg221==() + = 2/02/1 TTToutloadoutDDoutloadoutavgdtdtdVCVV dtdtdVCVTP + =TToutloadloadoutDDToutloadavgVCCVVVCTP2 /22/022121()() =TavgdttitvTP01 Amirtharajah, EEC 116 Fall 20118 Static cmos Complementary pullupnetwork (PUN) and pulldownnetwork (PDN) Only onenetwork is on at a time PUN: PMOS devices Why? PDN: NMOS devices Why? PUN and PDN are dual networksPUNPDNFABCABCA mirtharajah, EEC 116 Fall 20119 Dual NetworksBAF Dual networks: parallel connection in PDN = series connection in PUN, vice-versa If cmos gate implements Logic function F: PUN implements function F PDN implements function G = FExample: NAND gateparallelseriesAmirtharajah, EEC 116 Fall 201110 NAND Gate NAND function: F = A B PUN function: F = A B = A + B Or function (+) parallel connection Inverted inputs A, B PMOS transistors PDN function.

4 G = F = A B And function ( ) series connection Non-inverted inputs NMOS transistorsAmirtharajah, EEC 116 Fall 201111 PDN: G = F = A+B PUN: F = A+B = A B NOR gate operation: F = A+BNOR GateABABA mirtharajah, EEC 116 Fall 201112 Analysis of cmos Gates Represent on transistors as resistors111 RWWWRR Transistors in series resistances in series Effective resistance = 2R Effective length = 2 LAmirtharajah, EEC 116 Fall 201113 Analysis of cmos Gates (cont.) Represent on transistors as resistors000 RWWWRR Transistors in parallel resistances in parallel Effective resistance = R Effective width = 2 WAmirtharajah, EEC 116 Fall 201114 cmos Gates: Equivalent inverter Represent complex gate as inverter for delay estimation Typically use worst-case delays Example: NAND gate Worst-case (slowest) pull-up: only 1 PMOS on Pull-down: both NMOS on WNWNWPWPWP WNAmirtharajah, EEC 116 Fall 201115 Example: Complex GateDesign cmos gate for this truth table:ABCF000100110101011110011010110011 10F = A (B+C)Amirtharajah, EEC 116 Fall 201116 AExample.

5 Complex GateDesign cmos gate for this Logic function:F = A (B+C) = A + B C1. Find NMOS pulldown network diagram:G = F = A (B+C)CBNot a unique solution: can exchange order of series connectionAmirtharajah, EEC 116 Fall 201117 Example: Complex Gate2. Find PMOS pullup network diagram: F = A+(B C)Not a unique solution: can exchange order of series connection (B and C inputs)CBAFA mirtharajah, EEC 116 Fall 201118 CBACBAWPWPWPWNWNC ompleted gate:WNExample: Complex GateF What is worse-case pullup delay? What is worse-case pulldown delay? Effective inverter for delay calculation: WP WNAmirtharajah, EEC 116 Fall 201119 cmos Gate Design Designing a cmos gate.

6 Find pulldown NMOS network from Logic function or by inspection Find pullup PMOS network By inspection Using Logic function Using dual network approach Size transistors using equivalent inverter Find worst-case pullup and pulldown paths Size to meet rise/fall or threshold requirementsAmirtharajah, EEC 116 Fall 201120 Analysis of cmos gates Represent on transistors as resistors111 RWWWRR Transistors in series resistances in series Effective resistance = 2R Effective width = W (equivalent to 2L) Typically use minimum length devices (L = Lmin)Amirtharajah, EEC 116 Fall 201121 Analysis of cmos Gates (cont.)

7 Represent on transistors as resistors000 RWWWRR Transistors in parallel resistances in parallel Effective resistance = R Effective width = 2W Typically use minimum length devices (L = Lmin)Amirtharajah, EEC 116 Fall 201122 Equivalent inverter cmos gates: many paths to Vdd and Gnd Multiple values for VM, VIL, VIH, etc Different delays for each input combination Equivalent inverter Represent each gate as an inverter with appropriate device width Include only transistors which are on or switching Calculate VM, delays, etc using inverter equationsAmirtharajah, EEC 116 Fall 201123 Static cmos Logic Characteristics For VM, the VMof the equivalent inverter is used (assumes all inputs are tied together)

8 For specific input patterns, VMwill be different For VILand VIH, only the worst case is interesting since circuits must be designed for worst-case noise margin For delays, both the maximum and minimum must be accounted for in race analysisAmirtharajah, EEC 116 Fall 201124 Equivalent inverter : VM Example: NAND gate threshold VMThree possibilities: A & B switch together A switches alone B switches alone What is equivalent inverter for each case?Amirtharajah, EEC 116 Fall 201125 Equivalent inverter : Delay Represent complex gate as inverter for delay estimation Use worse-case delays Example: NAND gate Worse-case (slowest) pull-up: only 1 PMOS on Pull-down: both NMOS on WNWNWPWPWP WNAmirtharajah, EEC 116 Fall 201126 BAWNWPE xample: NOR gate Find threshold voltage VMwhen both inputs switch simultaneously Two methods: Transistor equations (complex) Equivalent inverter Should get same answerABFWNWPA mirtharajah, EEC 116 Fall 201127 CBACBAWPWPWPWNWNC ompleted gate:WNExample: Complex GateF What is worse-case pullup delay?

9 What is worse-case pulldown delay? Effective inverter for delay calculation: WP WNAmirtharajah, EEC 116 Fall 201128 Transistor Sizing Sizing for switching threshold All inputs switch together Sizing for delay Find worst-case input combination Find equivalent inverter , use inverter analysis to set device sizesAmirtharajah, EEC 116 Fall 201129 Common cmos Gate Topologies And-Or-Invert (AOI) Sum of products boolean function Parallel branches of series connected NMOS Or-And-Invert (OAI) Product of sums boolean function Series connection of sets of parallel NMOSA mirtharajah, EEC 116 Fall 201130 Stick Diagrams Dimensionless layout sketches Only topology is important Two primary uses Useful intermediate step Transistor schematic is the first step Layout is the last step Final layout generated automatically by compaction program Not widely used.

10 A topic of research Use colored pencils or pens whosecolors match Cadencelayer colorsAmirtharajah, EEC 116 Fall 201131 inverter Stick Diagram Diagram here uses magic standard color scheme Label all nodes Transistor widths (W) often shown with varying units Often in in this class Also nm or m Sometimes as a unit-less ratio this stick diagram could also say the PMOS is wider than the NMOS (saying 1 and instead of 6 and 9 GndVddinoutW=9 W=6 Amirtharajah, EEC 116 Fall 201132 Stick Diagrams Can also draw contacts with an X Do not confuse this X with the chip I/O and power pads on the edge of chip (shown with a box with an X ) or any other markerschipcoreGndVddinoutW=9 W=6 Amirtharajah, EEC 116 Fall 201133 Layout for the inverter in the Stick DiagramSource.)


Related search queries