Arbitrary waveform generator for signal generation