Scalar Architecture: Cache System
- The hierarchy of memory devices:
- The goal of Memory Hierarchy:
- access speed ~ fastest memory
- effective capacity ~ size of largest memory
-> Programs should follow the principle of locality: (Use items in the cache)
- Spatial locality of reference (use all words in cache line)
- Temporal locality of reference (use same cache line)