Simulation cache and virtual memory