oscillating shift register approach to sin wave generation