Phases generated by the ring counter