13
Memory Basics Chapter 8 1

Memory Basics Chapter 8 1. RAM Random access memory ROM Read-only memory 2 Memory definitions

Embed Size (px)

Citation preview

Page 1: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

1

Memory BasicsChapter 8

Page 2: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

2

RAM Random access memory

ROM Read-only memory

Memory definitions

Page 3: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

3

RAM

Page 4: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

4

Control inputs to a memory chip

Page 5: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

5

Static RAM (SRAM) Consists of internal latches that store the

binary information Dynamic RAM (DRAM)

Stores the binary information in the form of electric charges on capacitors

Properties of memory

Page 6: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

6

若 Bit select為 1,則接通 1, 2 gates。為1,寫入資料, 3, 4接通。Data in之後產生 B, ,再選word,選到的 5,6,7,8接通,此時不是 Set就是Reset,傳入C或。在Read logic S, R其一為 1,經 2輸出。

Page 7: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

7

16-word by 1-bit RAM chip

IN

EN

OUT

Three-state buffer

EN IN OUT

0 X Hi-Z

1 0 0

1 1 1

Page 8: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

8

16x1 RAM using a4x4 RAM cell array

Reduce number of1. Decoder gates2. Inputs per gate3. RAM cells per slice

Page 9: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

9

8x2 RAM using a4x4 RAM cell array

Page 10: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

10

A 32K x 8 RAM 32K x 8=215*23=218

Each column 29

Example

9-29

decoder

6-26

decoder

215

Page 11: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

11

64K x 8 RAM

Page 12: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

12

256K x 8 RAM

Page 13: Memory Basics Chapter 8 1.  RAM  Random access memory  ROM  Read-only memory 2 Memory definitions

13

64K x 16 RAM