chap8-mos memory and storage circuits

Upload: manh-cuong-tran

Post on 02-Apr-2018

226 views

Category:

Documents


1 download

TRANSCRIPT

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    1/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 1

    Chapter 8

    MOS Memory and Storage Circuits

    Microelectronic Circuit Design

    Richard C. JaegerTravis N. Blalock

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    2/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 2

    Chapter Goals

    Overall memory chip organization

    Static memory circuits using the six-transistor cell

    Dynamic memory circuits

    Sense amplifier circuits used to read data from memorycells

    Learn about row and address decoders

    Implementation of CPU registers via flip-flops

    Pass transistor logic Read Only Memory

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    3/44

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    4/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 4

    A 256-Mbit Memory Chip

    The figure shows theblock structure of a 256-Mb memory

    There are sets of column

    and row decoders that areused for memory arrayselection

    The column decoder splitsthe memory into upperand lower halves

    The row decoder andwordline drivers bisecteach 32-Mb subarrayNote that the basic building block for this

    memory is a 128Kb cell

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    5/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 5

    A 256-Mbit Memory Chip

    The memory blockdiagram contains 2M+Nstorage locations

    When a bit has been

    selected, the set of senseamplifiers are used toread/write to thememory location

    Horizontal rows arereferred to as wordlines,whereas the verticallines are called bitlines

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    6/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 6

    Static Memory Cells

    Inverters configured as shown in the above figureform the basic static storage building block

    These cross-coupled inverters are often referred toas a latch

    The circuit uses positive feedback

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    7/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 7

    Static Memory Cells VTC

    The previous latch has

    only two stable states

    and is termed bistable

    However, it is possiblefor it to be held at an

    unstable equilibrium

    point where slight

    changes in the voltagewill cause it to latch in

    one of the stable states

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    8/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 8

    The 6-T Cell

    With the addition of two control transistors it is

    possible to create the 6-T cell which stores both

    the true and complemented values of the data

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    9/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 9

    The Read Operation of a 6-T Cell

    Initial state of the 6-T cell storinga 0 with the bitlines initialconditions assumed to VDD/2

    Conditions after the WLtransistors have beenturned on

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    10/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 10

    The Read Operation of a 6-T Cell

    Final read state condition of

    the 6-T cellWaveforms of the 6-T

    cell read operation

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    11/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 11

    The Read Operation of a 6-T Cell

    Reading a 6-T cell that is storing a 1 follows the

    same concept as before, except that the sources

    and drains of the WL transistors are switched

    Note that the delay is approximately 20ns for this

    particular cell

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    12/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 12

    The Write Operation of a 6-T Cell

    It can be seen that not much happens while writing a 0

    into a cell that already stores a 0

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    13/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 13

    The Write Operation of a 6-T Cell

    While writing a 0 to a cell that is storing a 1, the

    bitlines must be able to overpower the output drive of

    the latch inverters to force it to store the new condition

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    14/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 14

    Dynamic Memory Cells

    The 1-T cell uses a capacitor for its storage element (data

    is represented as either a presence or absence of a charge)

    Due to leakage currents of MA, the data will eventually be

    corrupted, hence it needs to be refreshed

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    15/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 15

    Data Storage in a 1-T Cell

    Storing a 0

    Storing a 1

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    16/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 16

    Data Storage in a 1-T Cell

    Notice that the voltage stored on the storage

    capacitor on the previous slide does not reach VDD

    It instead is determined by the following:

    VC =VG VTN

    VC =VGVTO + VC + 2F

    2F( )[ ]

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    17/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 17

    Data Storage in a 1-T Cell

    To read a DRAM cell, the bitline is precharged to

    either VDD

    or VDD/2, and then M

    Ais turned on

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    18/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 18

    Data Storage in a 1-T Cell

    The charge stored on CCwill be shared with C

    BL

    through the process of charge sharing, where the

    read voltage varies slightly

    Normally CBL>> C

    C, and the charging time constant

    is:

    VF =CBLVBL +CCVC

    CBL +CCVBL

    = RONCBLCC

    CBL +CCRONCC

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    19/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 19

    The Four-Transistor (4-T) Cell

    Since the 6-T SRAM provides a large signal current drive

    to the sense amplifier, it generally has shorter a access

    time as compared to a DRAM

    The 4-T DRAM cell is an alternative that increases accesstime, and automatically refreshes itself

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    20/44

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    21/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 21

    Sense Amplifiers

    Sense amplifiers are used to detect the small

    currents that flow through the access transistors or

    the small voltage differences that occur during

    charge sharing

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    22/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 22

    A Sense Amplifier for the 6-T Cell

    MPCis the precharge

    transistor whose main

    purpose is to force the

    latch to operate at the

    unstable point

    previously mentioned

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    23/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 23

    Sense Amplifier Example

    For the figure on the previous slide, find the currents in thelatch transistors when M

    PCis turned on under the following

    conditions:

    VDD = 5V

    W

    L

    All =2

    1

    NMOS:

    Kn

    '= 25A/V

    2

    VTO

    =1V

    = 0.5V1/ 2

    2F= 0.6V V

    VVV

    VAK

    PMOS

    F

    TO

    n

    6.02

    75.0

    1

    /10

    :

    2/1

    2'

    =

    =

    =

    =

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    24/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 24

    Sense Amplifier Example

    Since the output voltage should equal on both sides of the

    latch when MPC

    is on, it is known that VGS

    = VDS

    for the latch

    NMOS devices and VSG

    = VSD

    for the latch PMOS devices.

    Therefore these transistors are saturated Due to the symmetry of the situation, the drain currents are

    equal giving the following:Kp

    '

    2

    W

    L

    VSG +VTP( )

    2=Kn

    '

    2

    W

    L

    VGS VTN( )

    2

    1

    2

    10A

    V2

    2

    1

    5VO 1( )

    2=

    1

    2

    25A

    V2

    2

    1

    VO 1( )

    2

    1.5VO2+ 3VO 13.5 = 0VO = 2.162V

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    25/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 25

    Sense Amplifier Example

    The drain currents are then found by:

    Note that the PMOS and NMOS drain currents are

    equal

    The power dissipation is given by:

    iD =1

    2

    25A

    V2

    2

    1

    2.1621( )

    2= 33.8A

    ( )( ) mWVAViP DDD 338.058.3322 ===

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    26/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 26

    A Sense Amplifier for the 1-T Cell

    The same sense

    amplifier used in the

    6-T cell can be used

    for the 1-T cell inmanner shown in the

    figure

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    27/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 27

    Sense Amplifier for the 1-T Cell

    The sense amplifier works the same as it did for the 6-T

    cell, but takes longer to reach steady state after precharge

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    28/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 28

    The Boosted Wordline Circuit

    Obviously it is desired to have a fast access in

    many DRAM applications. By driving the

    wordline to a higher voltage (referred to as a

    boosted wordline), say 5V instead of 3V, it ispossible to increase the amount of current supplied

    to the storage capacitors

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    29/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 29

    Clocked CMOS Sense Amplifiers

    The sense amplifier can definitely be a major source of

    power dissipation, but by using a clocking scheme, it is

    possible to reduce the power dissipated

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    30/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 30

    Clocked CMOS Sense Amplifiers

    Clocking the previous

    circuit in the manner

    shown in the figure will

    eliminate static currents

    in the latch during the

    precharge state, and only

    transient currents will

    appear

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    31/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 31

    Address Decoders

    The following figures are examples of commonly used

    decoders for row and column address decoding

    NMOS NOR Decoder NMOS NAND Decoder

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    32/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 32

    Address Decoders

    Complete 3-bit domino

    CMOS NAND decoder

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    33/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 33

    Address Decoders

    3-bit column data

    selector using pass-

    transistor logic

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    34/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 34

    Read-Only Memory (ROM)

    ROM is often needed in digital systems such as:

    Holding the instruction set for a microprocessor

    Firmware

    Calculator plug-in modules Cartridge style video games

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    35/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 35

    Read-Only Memory (ROM)

    The basic structure ofthe NMOS static ROMis shown in the figure

    The existence of an

    NMOS transistor meansa 0 is stored at thataddress otherwise a 1is stored

    The major downfall tothis particular circuit isthat it dissipates a lot ofpower

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    36/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 36

    Read-Only Memory (ROM)

    The domino

    CMOS ROM is

    one technique

    used to lower theamount of power

    dissipation

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    37/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 37

    Read-Only Memory (ROM)

    Another ROM

    option is the

    NAND array

    ROM whichcan be directly

    used with a

    NAND decoder

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    38/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 38

    Read-Only Memory (ROM)

    The main problem with these previous ROMs is that they

    must be designed at the mask level, meaning that it is not a

    versatile product.

    To solve this problem, the programmable ROM (PROM)was introduced

    The standard PROM cannot be erased, so the erasable

    ROM (EPROM), and later, electrically erasable ROM

    (EEPROM) were introduced

    High density flash memories allow for electrical erasure

    and reprogramming of memory cells

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    39/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 39

    RS Flip-Flop

    The reset-set (RS) flip-flop can be easily realized by using

    either two cross-coupled NOR or NAND gates

    The RSFF has the following truth tables

    R S Q Q

    0 0 Q Q

    0 1 1 0

    1 0 0 1

    1 1 0 0

    NOR RSFF

    R S Q Q

    0 0 Q Q

    0 1 0 1

    1 0 1 0

    1 1 1 1

    NAND RSFF

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    40/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 40

    RS Flip-Flop

    NOR RSFF

    NAND RSFF

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    41/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 41

    RS Flip-Flop

    Simplified RS flip-flop

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    42/44

    Jaeger/Blaloc Microelectronic Circuit DesignChap 8 - 42

    D-Latch using T-Gates

    A very important circuit of digital systems is the D-Latchwhich is used for a D Flip-Flop

    Whenever clock C goes high in the D-Latch, the data on Dis passed through to Q

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    43/44

  • 7/27/2019 Chap8-MOS Memory and Storage Circuits

    44/44

    End of Chapter 8