Lec 9
Lec 9
Prabal Dutta
University of Michigan
1
Announcements
• Homework #1
– Due on Thursday, 10/7, beginning of class
– Comments? Questions?
• Office hours
– Tue, 10/5, 2:30 PM to 4:00 PM, EECS 2334
• Mid-semester feedback
– Should get an email with instructions
– Fill out online in Wolverine Access
– Helps us to improve the class
• Minute quiz
• Announcements
• Memory Landscape
• Memory Architecture
• Non-volatile Memories
• Volatile Memories
4
External memory attaches to the processor
via the external memory controller and bus
Atmel SAM3U
5
External memory bus transactions
6
Interface and architecture
of external memory devices
7
Basic categories of memory
8
Memory technologies landscape
Volatile Non-Volatile
EEPROM
Flash Memory
Static RAM (SRAM)
RAM Dynamic RAM (DRAM)
FRAM
MRAM
BBSRAM
Mask ROM
ROM n/a PROM
EPROM
9
Choosing the right memory
requires balancing many tradeoffs
10
Outline
• Minute quiz
• Announcements
• Memory Landscape
• Memory Architecture
• Non-volatile Memories
• Volatile Memories
11
Internal organization of memory is usually an
array
What should be
the aspect ratio
(# rows vs #cols)?
bit lines
12
Physical (on-chip) memory configuration
13
Logical (external) memory configuration
A0
A1
2:4 decoder
Memory
Array
A2
16 bits
Control signals A3 (4 x 4)
•Select chip
•Select memory cell
•Control read/write
•Map internal array to
external
4:1 mux/demux
configuration
(4x4 16x1)
OE#
CS#
WE#
D0 15
Refresher on the memory-bus interface
16
Outline
• Minute quiz
• Announcements
• Memory Landscape
• Memory Architecture
• Non-volatile Memories
• Volatile Memories
17
Mask ROM
18
EPROM
• Erasable Programmable Read-Only Memory
• Constructed from floating gate FETs
– Charge trapped on the FG erases cell
– High voltage (13V +) applied to the control
gate
• “Writes” the cell with a 0
• Allows FG charge to be dissipated
• Erasing means changing form 0 1
– Uses UV light (not electrically!)
– Electrons are trapped on a floating gate
• Writing means changing from 1 0
• Erase unit is the whole device
• Retains data for 10-20 years
• Not used much these days
• Costly because
– Use of quartz window (UV transparent)
– Use of ceramic package
• PROM (or OTP) is same, just w/o window
19
Flash Memory
• Minute quiz
• Announcements
• Memory Landscape
• Memory Architecture
• Non-volatile Memories
• Volatile Memories
21
Static RAM
22
Dynamic RAM
23
Questions?
Comments?
Discussion?
24