CSE 291E / EE260C Spring 2002 Outline Embedded Memories How - - PowerPoint PPT Presentation

cse 291e ee260c spring 2002
SMART_READER_LITE
LIVE PREVIEW

CSE 291E / EE260C Spring 2002 Outline Embedded Memories How - - PowerPoint PPT Presentation

E mbedded Memories CSE 291E / EE260C Spring 2002 Outline Embedded Memories How memory fits into the roadmap Memory Technology SRAM, DRAM, ROM, Flash DRAM Memory Architectures Page Mode, SDRAM, Rambus Tim Sherwood


slide-1
SLIDE 1

E mbedded Memories

CSE 291E / EE260C Spring 2002

slide-2
SLIDE 2

Tim Sherwood 2

Outline

  • Embedded Memories

– How memory fits into the roadmap

  • Memory Technology

– SRAM, DRAM, ROM, Flash

  • DRAM Memory Architectures

– Page Mode, SDRAM, Rambus

slide-3
SLIDE 3

Tim Sherwood 3

Introduction

  • Every embedded system needs memory

– Buffering, Work Space, Instruction and Data Store

  • Fast growing, increasingly integrated
  • What are the needs of system?

– High Bandwidth – Low Latency – Low Area/Cost – Non-volatility (in some cases) – Writable (in most cases)

slide-4
SLIDE 4

Tim Sherwood 4

E mbedded Memory Importance

slide-5
SLIDE 5

Tim Sherwood 5

Memory

slide-6
SLIDE 6

Tim Sherwood 6

Memory with col

slide-7
SLIDE 7

Tim Sherwood 7

Memory with Col and Bank

slide-8
SLIDE 8

Tim Sherwood 8

Options

  • SRAM

Pros: Fast, available Cons: Volatile, Large Area

  • ROM

Pros: Fast, Non-volatile, Extremely dense Cons: Can’t write, Requires data at fabrication

  • DRAM

Pros: Very Dense, Writable Cons: Slow, Volatile, Requires refresh, Special process

  • Flash

Pros: Dense, Writable and Non-Volatile Cons: Special Process, Slow

slide-9
SLIDE 9

Tim Sherwood 9

SRAM Cell

  • Basic 6-T SRAM cell
  • Stores the value in a pair of inverters
  • Both the value and it’s complement are read out
  • Gates connected to the word line control access
slide-10
SLIDE 10

Tim Sherwood 10

SRAM: How it works

  • Two modes of operation that share lines

– Read and Write

  • Read Mode:

– Both bit-lines must start out high, one of the two lines gets but pulled low (the pull-down is stronger than the bit-line) and this is how the result is read.

  • Write Mode

– In order to perform a read, one bit line is set high and the other is set low. The pull down overpowers the value stored in the cell and you data is now stored in the cell

slide-11
SLIDE 11

Tim Sherwood 11

SRAM Cell

slide-12
SLIDE 12

Tim Sherwood 12

SRAM 2-Port

slide-13
SLIDE 13

Tim Sherwood 13

ROM

  • SRAM is big, 6-T for a single cell
  • If we know at fabrication time what the contents

will be, and we don’t need to write them what can we do better?

– Hard wire the values into the memory

  • Very dense layout
  • Very fast operation
  • Two types of ROM

– Mask programmable – Diffusion programmable

slide-14
SLIDE 14

Tim Sherwood 14

NOR ROM

Transistor at a zero

slide-15
SLIDE 15

Tim Sherwood 15

NOR ROM Layout

slide-16
SLIDE 16

Tim Sherwood 16

NAND ROM

All WL high except selected row

slide-17
SLIDE 17

Tim Sherwood 17

NAND ROM Layout

slide-18
SLIDE 18

Tim Sherwood 18

Memory Comparison

0.35um CMOS (austria microsystems) 1-Port SRAM 4k bit 8k bit 16k bit 32k bit 64k bit Area (mm2) 0.44 0.7 1.24 2.18 3.93 Delay (ns) 2.83 2.96 3.05 3.86 4.68 Power (mA/MHz) 0.15 0.175 0.18 0.226 0.285 2-Port SRAM 4k bit 8k bit 16k bit 32k bit 64k bit Area 170% 180% 180% 173% 182% Delay 118% 116% 116% 114% 100% Power 159% 146% 155% 160% 141% Diffused ROM 4k bit 8k bit 16k bit 32k bit 64k bit Area 27% 23% 18% 15% 13% Delay 101% 106% 107% 95% 81% Power 59% 69% 77% 76% 100%

  • All available today
slide-19
SLIDE 19

Tim Sherwood 19

Memory Technology: DRAM

  • All we need to do is store a bit

– then read it out right

  • Instead of storing the bit in a transistor

– Use a capacitor

  • DRAMs use a transistor to guard a capacitor

– Put data in, and disconnect it – Reconnect and read it out

slide-20
SLIDE 20

Tim Sherwood 20

DRAM Cell

slide-21
SLIDE 21

Tim Sherwood 21

DRAM Details

  • Pros

Tiny design: 1 Transistor + 1 capacitor

  • One one word line and one bit line
  • In reality these to are even built on top of one another
  • Cons

– Capacitor Design: Very small, high cap, 3D structures – Sense Amp Design: Small voltage (~100e) – Destructive Read: Spill the entire contents onto bit-line – Refresh: Puts the Dynamic in Dynamic RAM – Speed: Slower (tiny voltages, built for density)

slide-22
SLIDE 22

Tim Sherwood 22

DRAM structures

slide-23
SLIDE 23

Tim Sherwood 23

Flash

slide-24
SLIDE 24

Tim Sherwood 24

Flash Details

  • Pros:

– High density – Writable and Readable – Store multiple bits per cell (multi-valued) – Non-volatile – Increasingly available for SOC

  • Cons:

– Slow (90ns) – Field erase

  • Have to erase a whole section of the chip
  • Erase sets the bits to ‘1’, writing to them can turn them to ‘0’
slide-25
SLIDE 25

Tim Sherwood 25

DRAM Memory Architectures

  • Even if the memory arrays are the same

– The interface and interconnect can be different

  • Discuss 4 types of DRAM architectures

– FPM, EDO, SDRAM, Rambus

  • All are built on the same basic memory tile

– Difference lies in how data is accessed – And how the bus is designed

  • All need to send a row address and a collumn address
slide-26
SLIDE 26

Tim Sherwood 26

FPM

slide-27
SLIDE 27

Tim Sherwood 27

FPM Timing

slide-28
SLIDE 28

Tim Sherwood 28

E DO

slide-29
SLIDE 29

Tim Sherwood 29

E DO Timing

slide-30
SLIDE 30

Tim Sherwood 30

SDRAM Timing

slide-31
SLIDE 31

Tim Sherwood 31

Rambus

slide-32
SLIDE 32

Tim Sherwood 32

SDRAM

Addr Data

64b 8b

  • Large bus (64 bits)
  • 4 Banks per device, 4 banks total

– Banks are across the devices

slide-33
SLIDE 33

Tim Sherwood 33

Rambus

Addr Data

  • Address and Data are uniformly loaded
  • 4 banks per device, 32 banks total (additive)
  • Reduces bank conflict probability
slide-34
SLIDE 34

Tim Sherwood 34

Summary

  • Now you should know (at least at a high level)

– How a SRAM works – How a ROM works – How a DRAM works – How Flash memory works – How to pick between them for your designs – What the differences are between

  • FPM, EDO, SDRAM, and Rambus