Split an address into tag / index / offset and watch hits and misses for direct, set-associative and fully associative caches.