Professional Documents
Culture Documents
By Panyayot Chaikan
panyayot@coe.psu.ac.th
Chapter 4
The Memory System
(Memory controller)
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
From Figure 5.3 Page 297 of Computer Organization, Carl Hamacher, 5th edition, McGraw Hill pub.
240-208 Fundamental of Computer Architecture
Semiconductor Memories
Nonvolatile memory
Volatile memory
ROM
SRAM
PROM
DRAM
EPROM
EEPROM
Flash memory
Asynchronous
DRAM
FPM DRAM
Synchronous
SDRAM
DDR SDRAM
RDRAM
ROM
ROM : Read Only Memory
Programmed when manufacturing is in process.
pulse
240-208 Fundamental of Computer Architecture
From Figure 11-12 Page 298 of Microprocessors: principles and applications, Charles M.Gilmore, McGraw Hill pub.
240-208 Fundamental of Computer Architecture
From Figure 11-13 Page 299 of Microprocessors: principles and applications, Charles M.Gilmore, McGraw Hill pub.
240-208 Fundamental of Computer Architecture
10
EEPROM
Electrically Erasable PROM
No requirement of physically removed from the
11
EPROM
Reprogrammable
Erased by UV light
Example EPROM chips
27C64
: 8KB
27C128 : 16KB
27C256 : 32KB
27C512 : 64KB
240-208 Fundamental of Computer Architecture
12
From Figure 11-15, Page 301 of Microprocessor : Principle and Application, Charles M. Gilmore, McGraw Hill pub.
13
Flash Memory
Electrically erasable
Single cell can be read but can be written only an
14
SRAM cell
b
b'
Vsupply
word line
bit line
240-208 Fundamental of Computer Architecture
bit line
Chapter 4 - The Memory System
15
DRAM cell
word line
bit line
16
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
17
From Figure 11-7, Page 291 of Microprocessor : Principle and Application, Charles M. Gilmore, McGraw Hill pub.
18
19
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
20
From Figure 11-6, Page 290 of Microprocessor : Principle and Application, Charles M. Gilmore, McGraw Hill pub.
21
Memory Module
22
FROM http://www.buycomputermemory.com/computer-memory-types-and-memory-technology.html
240-208 Fundamental of Computer Architecture
23
From Figure 5.7 Page 300 of Computer Organization, Carl Hamacher, 5th edition, McGraw Hill pub.
240-208 Fundamental of Computer Architecture
24
SDRAM
Synchronous DRAM
Need clock signal for synchronize operation
Can be used with clock speed 100 and 133 MHz
Built in refresh circuitry
25
From Figure 5.8 Page 302 of Computer Organization, Carl Hamacher, 5th edition, McGraw Hill pub.
240-208 Fundamental of Computer Architecture
26
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
27
Address
RAS
R/W
Request
Processor
Memory
Controller
CAS
R/W
Memory
CS
Clock
Clock
data
28
for DRAM
Interposed between Processor and Memory
Refresh DRAM if required
29
From http://www.via.com.tw/en/p4-series/pt800.jsp
30
From http://www.via.com.tw/en/p4-series/pt880.jsp
31
Memory hierarchy
Processor
increasing
size
Registers
increasing
speed
increasing
cost per bit
Cache L1
Cache L2
Main
memory
secondary
storage
memory
240-208 Fundamental of Computer Architecture
32
33