Memory: Computer Architecture and Assembly Language
Memory: Computer Architecture and Assembly Language
CSE 333
Computer Architecture and Assembly Language
Random Access
Access time is practically the same to any data on a RAM chip
Data
Write Enable (WE) control signal m
OE WE
Specifies write operation
Threshold
voltage
Performance Gap
DRAM: 7% per year
Bigger
Faster
Main Memory (4 – 16 GB) Memory Bus
Access time: 50 – 100 ns Main Memory
Goal is to achieve
Fast speed of cache memory access
Balance the cost of the memory system
Almost Everything is a Cache !
In computer architecture, almost everything is a cache!
Registers: a cache on variables – software managed
First-level cache: a cache on second-level cache
Second-level cache: a cache on memory
Memory: a cache on hard disk
Stores recent programs and their data
Hard disk can be viewed as an extension to main memory