Set clock in sim_mode