The 16 counter codes 00000 to 01111, for instance, pass unchanged to the XOR gate outputs, and cause Vom to step through the half-sinusoidal cycle for maximum amplitude to minimum amplitude. Counter output Q4 becomes high for the next 16 codes, causing the XOR gates to invert the QO through Q3 outputs. As a result, VouT steps through the remaining half cycle from minimum to maximum amplitude. The counter then rolls over and initiates the next cycle. You can change the R1 through R4 values to obtain other VouT waveforms. VDv should be at least 12 V to assure maximum-frequency operation from IC1 to IC2.
Simple Pulse-train-to-sinusoid-converter
The 16 counter codes 00000 to 01111, for instance, pass unchanged to the XOR gate outputs, and cause Vom to step through the half-sinusoidal cycle for maximum amplitude to minimum amplitude. Counter output Q4 becomes high for the next 16 codes, causing the XOR gates to invert the QO through Q3 outputs. As a result, VouT steps through the remaining half cycle from minimum to maximum amplitude. The counter then rolls over and initiates the next cycle. You can change the R1 through R4 values to obtain other VouT waveforms. VDv should be at least 12 V to assure maximum-frequency operation from IC1 to IC2.