Hi,
I want to generate square signal which voltage level is -20 V to 20 V also with FPGA .
We don't know which FPGA you use.. so how can we know?
* generating a square wave should not be a problem for an FPGA
* but it's rater unlikely for an FPGA to output +20V/ -20V.
* what we also don't know: expected frequency, timing, duty cycle range, expected output impedance, expected drive current
This is a lot to guess.
So my approach is to use a suitable "break-before-make SPDT analog switch"
Klaus