memory - 2 10/27/081ece 561 - lecture 13 memory 2

20
Memory - 2 10/27/08 1 ECE 561 - Lecture 13 Memory 2

Upload: gary-arnold

Post on 01-Jan-2016

218 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

Memory - 2

10/27/08 1ECE 561 - Lecture 13 Memory 2

Page 2: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

Memory

• The internal structure of the ICs• ROM Types and RAM

10/27/08 2ECE 561 - Lecture 13 Memory 2

Page 3: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

Memory Types

• How a ROM works

10/27/08 3ECE 561 - Lecture 13 Memory 2

Page 4: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

A 128 x 1 ROM

• The basic structure

10/27/08 4ECE 561 - Lecture 13 Memory 2

Page 5: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

Larger Array Sizes

• Arranged in blocks

10/27/08 ECE 561 - Lecture 13 Memory 2 5

Page 6: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

Commercial ROM Types

• Table 9-5– Type Tech ReadCyc WrCyc Comments– MASK ROM NMOS 10-100ns 4 weeks Write once, low pwr– CMOS– MASK ROM Bipolar <100ns 4 weeks Write once, h pwr– low density– PROM Bipolar <100ns 10-50us/byte Write once, h pwr– EPROM NMOS 25-200ns 10-50us/byte Reusable, low pwr– CMOS– EEPROM NMOS 50-200ns 10-50us/byte 10,000 to 100,000– writes per location

10/27/08 ECE 561 - Lecture 13 Memory 2 6

Page 7: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

EPROM

• Erasable Programable Read Only Memory

10/27/08 ECE 561 - Lecture 13 Memory 2 7

Page 8: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

EPROM

• Uses a floating gate for the FET at each bit location• User uses a programming voltage that causes a

temporary breakdown in the dielectric between the gate and the floating gate to charge it.

• When programming voltage is removed the charge stays

• How long? EPROM manufacturers “guarantee” properly programmed bit has 70% of charge after 10 years.

• Use UV light to erase

10/27/08 ECE 561 - Lecture 13 Memory 2 8

Page 9: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

EEPROM

• Electrically Erasable PROM• Like the EPROM only electrically erasable in

circuit.• Many times referred to a “flash”

programmable memory• Very slow on writes so not a substitute for

RAM

10/27/08 ECE 561 - Lecture 13 Memory 2 9

Page 10: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

General Block Diagram

10/27/08 ECE 561 - Lecture 13 Memory 2 10

• xROM

Page 11: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

General Timing

• General timing parameters

10/27/08 ECE 561 - Lecture 13 Memory 2 11

Page 12: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

The timing parameters

• Access time from address – tAA

• Access time from chip select - tACS

• Output-enable time - tOE

• Output-disable time - tOZ

• Output-hold time - tOH

10/27/08 ECE 561 - Lecture 13 Memory 2 12

Page 13: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

R/W Memory

• Memory to store and retrieve data when more than F/Fs

• A few types • Static RAM – SRAM– As long as power is maintained data is held

10/27/08 ECE 561 - Lecture 13 Memory 2 13

Page 14: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

SRAM

• The data storage

10/27/08 ECE 561 - Lecture 13 Memory 2 14

Page 15: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

A static RAM chip

• Internal – an arrangement of storage sturctures

10/27/08 ECE 561 - Lecture 13 Memory 2 15

Page 16: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

SRAM Timing

• Timing for write similar (see Fig 9-23)

10/27/08 ECE 561 - Lecture 13 Memory 2 16

Page 17: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

DRAM

• Next step in memory is Synchronous SRAM which has a clocked interface for control, address and data.

• Then comes DRAM – dynamic ram• In DRAM data is stored• in a semiconductor • capicator.

10/27/08 ECE 561 - Lecture 13 Memory 2 17

Word line

Bit line

Page 18: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

DRAM Read

• A read sees the bit line precharged to high.• The word line is then activated• If cell stores a 0 then there is a small drop on

the voltage on the bit line• This is monitored by a sense amp which

provides the value stored• Value must be written back after the read.

10/27/08 ECE 561 - Lecture 13 Memory 2 18

Page 19: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

DRAM Refresh

• Charge stored leaks off over time

• Must restore the values stored– A 4096 row DRAM – refresh every 64ms– Thus each row every 15.6 usec

• Larger DRAMs are banks of smaller10/27/08 ECE 561 - Lecture 13 Memory 2 19

Page 20: Memory - 2 10/27/081ECE 561 - Lecture 13 Memory 2

DDR SDRAM

• Double data rate SDRAM• Double the data transfer rate of an SDRAM by

transferring on both edges of the clock• Access and setup times are the same as SRAM• Increased data thruput as data is transferred

in blocks.

10/27/08 ECE 561 - Lecture 13 Memory 2 20