1-bit DAC waveform generator source code