Simulator for 2-level cache