ported phase detector