2. Cache Example
-
Consider an array of 10 4-byte integers in memory, starting at virtual address 100 = 0b01100100
An 8-bit virtual address space, with 16-byte pages: VA (8) = VPN (4) Offset (4) = 0b0110 0b0100 = 6 4
(Above is data cache, TLB cache not shown)