Years ago I converted a high frequency squarewave to an oversampled sinewave. Instead of the 16 stage shift register shown here, I used a simple 5 stage CD4018 counter with 5 resistors creating 10 steps. One of the counter outputs is the squarewave and the counter is fed from a 10 x the...