Addressing The Cache
Since the program is generating virtual addresses, and the memory uses physical addresses, there are two solutions to the problem of addressing the cache:
Physically addressed cache: Translate virtual address before cache reference
Virtually addressed cache: Reference cache directly and translate only on a cache miss, which is when physical memory must be referenced
It’s a no brainer, right?