Hello,guys. Now I need use FPGA to generate the 12bit digital sinwave code (that mean the 12bit digital code restore to analog signal is a sinwavw)to control dac to test my dac SNR and SNDR, anyone can give me some suggestion how to generate this 12bit digital code use FPGA? thanks!
I agree with FvM,
You can create a simple lookup table for 1/4th of your sinewave, then repeate it 4 times up and down to get the correct sinus output values.
The size of the lookup table depends on your frequency.
Take a look at this Xilinx App-note for some ideas on how to do it: