+ All Categories
Home > Documents > ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 – Digital Electronics Memory (Lecture #21)

Date post: 19-Dec-2015
Category:
Upload: candace-thornton
View: 228 times
Download: 6 times
Share this document with a friend
Popular Tags:
25
ECE 301 – Digital Electronics Memory (Lecture #21)
Transcript
Page 1: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 – Digital Electronics

Memory

(Lecture #21)

Page 2: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 2

Memory

Memory is required to store:

1. data2. application programs

3. operating system

Page 3: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 3

Memory

Can be broadly classified as:

Random Access Memory (RAM)or

Read Only Memory (ROM)

Page 4: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 4

Random Access Memory (RAM)

Can be written to or read from. Read/Write memory

Reading from RAM is non-destructive. Access time to read from any memory

location is the same. As compared to serial access memory.

Volatile Information is lost when power is removed.

Page 5: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 5

Random Access Memory (RAM)

Page 6: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 6

Random Access Memory (RAM)

Static Random Access Memory (SRAM) Based on the Flip-Flop Requires a large number of transistors Fast

Dynamic Random Access Memory (DRAM) Uses a single transistor to store charge Requires very few transistors Must be periodically refreshed Slow(er)

Page 7: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 7

Random Access Memory (RAM)

What is typically stored in RAM?

Page 8: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 8

Read Only Memory (ROM)

Can only be read from. Memory is written (or “programmed”) once Reading from ROM is non-destructive. Access time to read from any memory

location is the same. As compared to serial access memory.

Non-Volatile Information is retained even after power

is removed.

Page 9: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 9

Read Only Memory (ROM)

Page 10: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 10

Read Only Memory (ROM)

Programmable Read Only Memory (PROM) Can be “programmed”

Erasable PROM (EPROM) Can be “programmed” and erased

Electrically Erasable PROM (EEPROM) Can be erased using an electrical signal

UV Erasable PROM (UVEPROM) Can be erased using Ultraviolet light

Page 11: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 11

Read Only Memory (ROM)

Page 12: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 12

Read Only Memory (ROM)

What is typically stored in ROM?

Page 13: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 13

Memory

Page 14: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 14

Memory

Random Access Memory

Page 15: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 15

Random Access Memory Address

Location in memory of the binary information Must be decoded to select the appropriate

location and read/write the associated data k-bit address → 2k memory locations

Data Binary information of interest Stored in a specific location in the memory Typically organized into words Each word has n bits

Page 16: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 16

Random Access Memory

address

10-bit address1024 locations

data

Page 17: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 17

Random Access Memory

Read Indicates that the memory is to be read

Write Indicates that the memory is to be written

Page 18: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 18

Random Access Memory

Page 19: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 19

Random Access Memory

Rather than use the Read and Write signals, most commercially available RAM chips use Enable and Read/Write'

Enable Used to enable the selected RAM chip Aka. “chip select”

Read/Write' RAM is read when Read/Write' = 1 RAM is written when Read/Write' = 0

Page 20: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 20

Random Access Memory

Page 21: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 21

Random Access Memory

Write Cycle

Page 22: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 22

Random Access Memory

Read Cycle

Page 23: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 23

Random Access Memory

Page 24: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 24

Random Access Memory

Page 25: ECE 301 – Digital Electronics Memory (Lecture #21)

ECE 301 - Digital Electronics 25

Acknowledgments

The slides used in this lecture were taken, with permission, from those provided by Pearson Prentice Hall for

Digital Design (4th Edition).

They are the property of and are copyrighted by Pearson Education.


Recommended