On the design of type-i integer-n phase-locked loops