Professional Documents
Culture Documents
240-208
Chapter 4
The Memory System
Memory
k Up to 2 addressable locations
Control lines
CU
From Figure 5.2 Page 296 of Computer Organization, Carl Hamacher, 5th edition, McGraw Hill pub.
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
From Figure 5.3 Page 297 of Computer Organization, Carl Hamacher, 5th edition, McGraw Hill pub.
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
Semiconductor Memories
Nonvolatile memory
ROM PROM EPROM
Volatile memory
SRAM DRAM
Asynchronous
DRAM
FPM DRAM
EEPROM
Flash memory
Synchronous
SDRAM DDR SDRAM RDRAM
ROM
ROM : Read Only Memory
Programmed when manufacturing is in process.
pulse
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
From Figure 11-12 Page 298 of Microprocessors: principles and applications, Charles M.Gilmore, McGraw Hill pub.
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
From Figure 11-13 Page 299 of Microprocessors: principles and applications, Charles M.Gilmore, McGraw Hill pub.
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
EEPROM
Electrically Erasable PROM No requirement of physically removed from the
circuit for reprogramming Use special voltage level to erase data Any cell contents can be delete selectively
10
EPROM
Reprogrammable Erased by UV light Example EPROM chips
27C64 : 8KB 27C128 : 16KB 27C256 : 32KB 27C512 : 64KB
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
11
From Figure 11-15, Page 301 of Microprocessor : Principle and Application, Charles M. Gilmore, McGraw Hill pub.
12
Flash Memory
Electrically erasable Single cell can be read but can be written only an
entire block of cells. Prior to writing, the previous of the block are erased. Suitable for used as solid state disk such as CompactFlash, MemoryStick, SD, MD etc.
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
13
SRAM cell
b
Vsupply
b'
word line
bit line
240-208 Fundamental of Computer Architecture
bit line
Chapter 4 - The Memory System
14
DRAM cell
word line
bit line
15
SRAM VS DRAM
SRAM Very fast Very Expensive Used in Cache memory and CPU register DRAM Slower than SRAM Cheaper than SRAM Used in most computer as main memory Need to be refreshed periodically
Chapter 4 - The Memory System
16
From Figure 11-7, Page 291 of Microprocessor : Principle and Application, Charles M. Gilmore, McGraw Hill pub.
17
18
Static RAM
2Kx8 8Kx8
From Figure 11-5, Page 289 of Microprocessor : Principle and Application, Charles M. Gilmore, McGraw Hill pub.
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
19
From Figure 11-6, Page 290 of Microprocessor : Principle and Application, Charles M. Gilmore, McGraw Hill pub.
20
Memory Module
21
FROM http://www.buycomputermemory.com/computer-memory-types-and-memory-technology.html
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
22
From Figure 5.7 Page 300 of Computer Organization, Carl Hamacher, 5th edition, McGraw Hill pub.
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
23
SDRAM
Synchronous DRAM Need clock signal for synchronize operation Can be used with clock speed 100 and 133 MHz Built in refresh circuitry
24
From Figure 5.8 Page 302 of Computer Organization, Carl Hamacher, 5th edition, McGraw Hill pub.
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
25
Row
Col
D0
From Figure 5.9 Page 303 of Computer Organization, Carl Hamacher, 5th edition, McGraw Hill pub.
240-208 Fundamental of Computer Architecture Chapter 4 - The Memory System
26
Memory Controller
Processor
Clock
Memory
data
27
for DRAM Interposed between Processor and Memory Refresh DRAM if required
28
From http://www.via.com.tw/en/p4-series/pt800.jsp
29
From http://www.via.com.tw/en/p4-series/pt880.jsp
30
Memory hierarchy
Processor
increasing size
Registers Cache L1
increasing speed
Cache L2
31