Simulation for cpu