Assignment 4 Cache Simulator Solution