Implementing a neutral-atom controlled-phase gate with a single Rydberg pulse