Numerically-controlled oscillator