Chap7-Complementary MOS (CMOS) Logic Design

download Chap7-Complementary MOS (CMOS) Logic Design

of 54

Transcript of Chap7-Complementary MOS (CMOS) Logic Design

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    1/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 1

    Chapter 7Complementary MOS (CMOS) Logic

    Design

    Microelectronic Circuit Design

    Richard C. JaegerTravis N. Blalock

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    2/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 2

    Chapter Goals

    Introduce CMOS logic concepts

    Explore the voltage transfer characteristics CMOS inverters

    Learn to design basic and complex logic gates

    Discuss static and dynamic power in CMOS logic Present expressions for dynamic performance of CMOS logic

    devices

    Present noise margins for CMOS logic

    Introduce dynamic logic and domino CMOS logic techniques

    Introduce design techniques for cascade buffers

    Explore layout of CMOS logic gates

    Discuss the concept of latchup

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    3/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 3

    CMOS Inverter Technology

    Complementary MOS, or CMOS, needs both

    PMOS and NMOS devices for their logic gates to

    be realized

    The concept of CMOS was introduced in 1963 byWanlass and Sah, but it did not become common

    until the 1980s as NMOS microprocessors were

    dissipating as much as 50 W and alternative

    design technique was needed

    CMOS still dominates digital IC design today

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    4/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 4

    CMOS Inverter Technology

    The CMOS inverter consists of a PMOS stacked on top on

    a NMOS, but they need to be fabricated on the same wafer

    To accomplish this, the technique of n-well implantation

    is needed as shown in the figure which shows the cross-section of a CMOS inverter

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    5/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 5

    CMOS Inverter

    (a) Circuit schematic for a CMOS inverter

    (b) Simplified operation model with a high input applied

    (c) Simplified operation model with a low input applied

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    6/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 6

    CMOS Inverter Operation

    When vI is pulled high (VDD), the PMOS inverter

    is turned off, while the NMOS is turned on pulling

    the output down to VSS

    When vI is pulled low (VSS), the NMOS inverter is

    turned off, while the PMOS is turned on pulling

    the output up to VDD

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    7/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 7

    CMOS Inverter Layout

    Two methods of laying

    out a CMOS inverter

    are shown

    The PMOS transistors

    lie within the n-well,whereas the NMOS

    transistors lie in the p-

    substrate

    Polysilicon is used to

    form common gateconnections, and metal

    is used to tie the two

    drains together

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    8/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 8

    Static Characteristics of the CMOSInverter

    The figure shows thetwo modes of staticoperation with the

    circuit and simplifiedmodels

    Notice that VH = 5Vand VL = 0V, and that

    ID = 0A which meansthat there is no static

    power dissipation

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    9/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 9

    CMOS Voltage Transfer Characteristics

    The VTC shown is for a

    CMOS inverter that is

    symmetrical (KP = KN)

    Region 1: vO = VH

    vI < VTN Region 2: |vDS| |vGSVTP|

    Region 4: vDS vGSVTN

    Region 5: vO = VL

    vI > VDD|VTP|

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    10/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 10

    CMOS Voltage Transfer Characteristics

    The simulation

    result shows the

    varying VTC of

    the inverter asVDD is changed

    The minimum

    voltage supply for

    a certain MOStechnology is

    2VTln(2)

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    11/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 11

    CMOS Voltage Transfer Characteristics

    The simulation

    result shows the

    varying VTC of the

    inverter as KN/KP =

    KRis changed For KR> 1 the

    NMOS current

    drive is greater and

    it forces vI < VDD/2

    For KR< 1 thePMOS current drive

    is greater and it

    forces vI > VDD/2

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    12/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 12

    Noise Margins for the CMOS Inverter

    Noise margins

    are defined by

    the regions

    shown in thegiven figure

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    13/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 13

    Noise Margins for the CMOS Inverter

    2

    1

    131

    2

    2

    1

    1311

    2

    TPTNRDDILROL

    R

    TPTNRDD

    RR

    TPTNDDR

    IL

    R

    TPTNRDDIHR

    OL

    R

    TPTNRDD

    RR

    TPTNDDRIH

    VVKVVKV

    K

    VVKV

    KK

    VVVKV

    K

    VVKVVK

    V

    K

    VVKV

    KK

    VVVKV

    IHOHH

    OLILL

    P

    NR

    VVNM

    VVNM

    KKK

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    14/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 14

    Propagation Delay Estimate

    The two modes of capacitive charging that contribute topropagation delay

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    15/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 15

    Propagation Delay Estimate

    If it is assumed the inverter in symmetrical,

    (W/L)P = 2.5(W/L)N, then PLH=PHL

    PHLPLHPHL

    p

    TNHn

    onN

    TNH

    TN

    LH

    TNHonNPHL

    VVKR

    VV

    V

    VV

    VVCR

    2

    1

    214ln

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    16/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 16

    Rise and Fall Times

    The rise and fall times are given by the following

    expressions:

    PLHr

    PHLf

    t

    t

    2

    2

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    17/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 17

    Reference Inverter Example

    Design a reference inverter to achieve a delay of

    250ps with a 0.1pF load given the following

    information:

    VVVps

    pFC

    VV

    TPTN

    p

    DD

    75.0

    250

    1.0

    3.3

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    18/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 18

    Reference Inverter Example

    Assuming the inverter is symmetrical and using

    the values given in Table 7.1:

    psV

    AK

    VAK

    PLHPHLp

    p

    n

    250

    10

    25

    2

    '

    2'

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    19/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 19

    Reference Inverter Example

    Solving for RonN:

    Then solve for the transistor ratios:

    2020

    2

    1

    14lnLDD

    TNDD

    PHLonN

    VV

    VV

    C

    R

    1

    4.195.2

    1

    77.71

    '

    np

    TNDDonNnn

    L

    W

    L

    W

    VVRKL

    W

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    20/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 20

    Delay of Cascaded Inverters

    An ideal step was used to derive the previous

    delay equations, but this is not possible to

    implement

    By using putting the following circuit in SPICE, itis possible to produce more accurate equations

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    21/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 21

    Delay of Cascaded Inverters

    The output of the previous circuit looks like the followingan it can be seen that the delay for the nonideal step inputis approximately twice than the ideal case:

    2

    114ln2

    2

    114ln2

    H

    TPDDonPPLH

    LDD

    TNDDonNPHL

    V

    VVCR

    VV

    VVCR

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    22/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 22

    Static Power Dissipation

    CMOS logic is considered to have no static power

    dissipation

    Since the ROFF of the two transistors is very large,

    the DC current driving a capacitive load is zero

    This is not completely accurate since MOStransistors have leakage currents associated with

    the reverse-biased drain-to-substrate connections

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    23/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 23

    Dynamic Power Dissipation

    There are twocomponents that addto dynamic powerdissipation:

    1) Capacitive loadcharging at afrequencyfgiven

    by: PD = CVDDf

    2) The current thatoccurs duringswitching which can

    be seen in the figure

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    24/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 24

    Power-Delay Product

    fCVP

    PPDP

    DDav

    Pav

    2

    The figure shows a symmetrical

    inverter switching waveform

    T

    f1

    55

    58.0

    22

    8.0

    2

    22

    DDP

    P

    DD

    P

    Pr

    bfar

    CVCVPDP

    t

    ttttT

    The power-delay product is given as:

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    25/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 25

    CMOS NOR Gate

    Reference InverterCMOS NOR gateimplementation

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    26/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 26

    CMOS NOR Gate Sizing

    When sizing the transistors, it is ideal to keep the

    delay times the same as the reference inverter

    To accomplish this, the on-resistance on the

    PMOS branch of the NOR gate must be the same

    as the reference inverter

    For a two-input NOR gate, the (W/L)p must be

    made twice as large

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    27/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 27

    CMOS NOR Gate Body Effect

    Since the bottom PMOS body contact is not

    connected to its source, its threshold voltage

    changes as VSBchanges during switching

    Once vO = VH is reached, the bottom PMOS is not affected

    by body effect, thus the total on-resistance of the PMOS

    branch is the same

    However, the rise time is slowed down due to |VTP| being a

    function of time

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    28/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 28

    Two-Input NOR Gate Layout

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    29/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 29

    Three-Input NOR Gate Layout

    It is possible to extend this same design technique to create

    multiple input NOR gates

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    30/54

    Jaeger/Blalock10/15/03

    Microelectronic Circuit DesignMcGraw-Hill

    Chap 7 - 30

    Shorthand Notation for NMOS andPMOS Transistors

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    31/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 31

    CMOS NAND Gates

    CMOS NAND gate

    implementation

    Reference Inverter

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    32/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 32

    CMOS NAND Gates Sizing

    The same rules apply for sizing the NAND gate as

    the did for the NOR gate, except for now the

    NMOS transistors are in series

    The (W/L)N will be twice the size of the reference

    inverters NMOS

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    33/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 33

    Multi-Input CMOS NAND Gates

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    34/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 34

    Complex CMOS Logic Gate DesignExample

    Design a CMOS logic gate for (W/L)p,ref=5/1 and for (W/L)n,ref=2/1

    that exhibits the function: Y = A + BC +BD

    By inspection (knowing Y), the NMOS branch of the gate can drawn

    as the following with the corresponding graph, while considering the

    longest path for sizing purposes:

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    35/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 35

    Complex CMOS Logic Gate DesignExample

    By placing nodes in the interior of each arc, plus two more outside the

    graph for VDD(3) and the complementary output (2), the PMOS

    branch can be realized as shown on the left figure

    Connect all of the nodes in the manner shown in the right figure, and

    the NMOS arc that PMOS arc intersects have the same inputs

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    36/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 36

    Complex CMOS Logic Gate DesignExample

    From the PMOS

    graph, the PMOS

    branch can now be

    drawn for the final

    CMOS logic gate

    while once again

    considering the

    longest PMOS path

    for sizing

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    37/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 37

    Complex CMOS Gate with a BridgingTransistor Design Example

    Design a CMOS gate that implements the following logic function

    using the same reference inverter sizes as the previous example:

    Y = AB +CE + ADE + CDB

    The NMOS branch can be realized in the following manner using

    bridging NMOS D to implement Y. The corresponding NMOS graphis shown to the right.

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    38/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 38

    Complex CMOS Gate with a BridgingTransistor Design Example

    By using the same technique as before, the PMOS

    graph can now be drawn

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    39/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 39

    Complex CMOS Gate with a BridgingTransistor Design Example

    By using the PMOS

    graph the PMOS

    branch can now be

    realized as thefollowing (considering

    the longest path for

    sizing)

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    40/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 40

    Minimum Size Gate Design andPerformance

    With CMOS technology, there is a area/delay

    tradeoff that needs to be considered

    If minimum feature sized are used for both

    devices, then the PLHwillbedecreased

    comparedtothesymmetricalreference

    inverter

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    41/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 41

    Minimum Size Complex Gate andLayout

    The following shows the layout of a complex minimum size

    logic gate

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    42/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 42

    Dynamic Domino CMOS Logic

    One technique to help decrease power in MOS

    logic circuits is dynamic logic

    Dynamic logic uses different precharge and

    evaluation phases that are controlled by a systemclock to eliminate the dc current path in single

    channel logic circuits

    Early MOS logic required multiphase clocks to

    accomplish this, but CMOS logic can be operated

    dynamically with a single clock

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    43/54

    Jaeger/Blalock10/15/03 Microelectronic Circuit DesignMcGraw-Hill Chap 7 - 43

    Dynamic Domino CMOS Logic

    The figure demonstrates the basic concept of

    domino CMOS logic operation

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    44/54

    Jaeger/Blalock

    10/15/03

    Microelectronic Circuit Design

    McGraw-Hill

    Chap 7 - 44

    Simple Dynamic Domino Logic Circuit

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    45/54

    Jaeger/Blalock

    10/15/03

    Microelectronic Circuit Design

    McGraw-Hill

    Chap 7 - 45

    Dynamic Domino CMOS Logic

    It should be noted that domino CMOS circuits only

    produce true logic outputs, but this problem can be

    overcome by using registers that have both true and

    complemented output to complete the function shown by

    the following

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    46/54

    Jaeger/Blalock

    10/15/03

    Microelectronic Circuit Design

    McGraw-Hill

    Chap 7 - 46

    Cascade Buffers

    In some circuit, the logic must be able to drive

    large capacitances (10 to 50pF)

    By cascading an even number of increasing larger

    inverters, it is possible to drive the loads

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    47/54

    Jaeger/Blalock

    10/15/03

    Microelectronic Circuit Design

    McGraw-Hill

    Chap 7 - 47

    Cascade Buffers

    The taper factordeterminestheincreaseofthecascadedinverters size in manner shown of the

    previous image.

    where Cois the unit inverters load capacitance

    The delay of the cascaded buffer is given by the following:

    o

    LN

    C

    C

    o

    N

    o

    LB

    C

    CN

    /1

    Where oistheunitinverters

    propagationdelay

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    48/54

    Jaeger/Blalock

    10/15/03

    Microelectronic Circuit Design

    McGraw-Hill

    Chap 7 - 48

    Optimum Design of Cascaded Stages

    The following expressions can aid in the design of

    an optimum cascaded buffer

    o

    o

    LBopt

    C

    C

    o

    Lopt

    o

    Lopt

    C

    CC

    C

    C

    C

    N

    o

    L

    ln

    ln

    ln

    1

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    49/54

    Jaeger/Blalock

    10/15/03

    Microelectronic Circuit Design

    McGraw-Hill

    Chap 7 - 49

    The CMOS Transmission Gate

    The CMOS

    transmission gate

    (T-gate) is one of the

    most useful circuits for

    both analog and digitalapplications

    It acts as a switch that

    can operate up to VDD

    and down to VSS

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    50/54

    Jaeger/Blalock

    10/15/03

    Microelectronic Circuit Design

    McGraw-Hill

    Chap 7 - 50

    The CMOS Transmission Gate

    The main consideration that needs to be

    considered is the equivalent on-resistance which is

    given by the following expression:

    onnonp

    onnonp

    EQRR

    RRR

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    51/54

    Jaeger/Blalock

    10/15/03

    Microelectronic Circuit Design

    McGraw-Hill

    Chap 7 - 51

    CMOS Latchup

    There is one major downfall to the CMOS logic

    gateLatchup

    There are many safeguards that are done duringfabrication to suppress this, but it can still occur

    under certain transient or fault conditions

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    52/54

    Jaeger/Blalock

    10/15/03

    Microelectronic Circuit Design

    McGraw-Hill

    Chap 7 - 52

    CMOS Latchup

    Latchup occurs due parasitic bipolar transistors

    that exist in the basic inverter as shown below

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    53/54

    Jaeger/Blalock

    10/15/03

    Microelectronic Circuit Design

    McGraw-Hill

    Chap 7 - 53

    CMOS Latchup

    The configuration ofthese bipolartransistors create a

    positive feedbackloop, and will causethe logic gate tolatchup as shown tothe left

    By using heavilydoped materialwhere Rn and Rp

    exist, thereresistance will belowered therebyreducing the chanceof latchup occurring

  • 7/27/2019 Chap7-Complementary MOS (CMOS) Logic Design

    54/54

    Jaeger/Blalock Microelectronic Circuit Design Chap 7 54

    End of Chapter 7