Clock simulator