Cache Mapping Sandbox

CSC-213 · Semester III · Computer Architecture

Cache Mapping Simulator

Where does each block land — direct, set-associative or fully associative?

Address 0x00:

tag = block >> 5 · block = 0 · word offset = 0

Line 0tag 0VALID
Line 1tag 1empty
Line 2tag 2empty
Line 3tag 3empty
Line 4tag 4empty
Line 5tag 5empty
Line 6tag 6empty
Line 7tag 7empty

Each memory block maps to exactly one cache line (block % 8). Cheap but conflicts thrash.