set associative cache simulation