Memory

Non-Volatile memory

Retains data on power off

Read-Only Memory(ROM)

ROM

Programmable ROM(PROM)

Erasable PROM(EPROM)

Electrically Erasable PROM(EEPROM)

Flash

Volatile Memory

Loses data on power-off

Static RAM(SRAM)

Bit cell

CMOS Inverter

Dynamic RAM(DRAM)

Bit cell

Classification

Type Volatile? Writable Erase Size
ROM no no -
PROM no once -
EPROM no yes whole chip
EEPROM no yes byte
Flash no yes block
SRAM yes yes byte
DRAM yes yes byte

Memory Chips

e.g. 16 word x 8 bit chip Memory Chip Example
For internal view, see handout Decoder asserts a word line to enable a raw

Large Memory Chips

e.g. 2M word x 8 bit (221 words)

requires 21 x 2097152 decoder(slow!)
instead, arrange bit cells in symmetric array

221 words x 23 bits/word
= 224 bits(16M)
= 212 x 212 bits
= 4096 x 4096 bits

see handout
decoder is 12 x 4096

each row contains 4096/8 = 512 words

need 512:1 mux to select word
put address bits A20 - A9 on pins and assert Row Address Strobe(RAS) to select row
next put A8 - A0 on pins and assert Column Address Strobe(CAS) to select word
timing diagram: async DRAM read(2 words)
address_strobe

Fast Page Mode

Synchronous DRAM(SDRAM)

Double Data Rate(DDR) SDRAM

e.g. PC3-12800 - 800MHz clock

=> 1600MT/s x 8 bytes/transfer = 12 800MB/s

Metrics

Modules

Click here for the next chapter