Forum Discussion
Altera_Forum
Honored Contributor
11 years agoGenerating higher frequency sine waves from 5MHz RAM
Currently using the Stratix III EP3SL150F1152 DSP Developers Kit in Verilog. I generated one period sine wave 5MHz sampling at 250MHz (50 samples in a .MIF file from MATLAB ). I ported it to a RAM ...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- You better use a standard NCO approach based on altera nco core. I am not sure I understand your figures of 250, 500? --- Quote End --- I'm not too familiar with the NCO approach, but I would like to keep my Vpp to be 1. In MATLAB I had my amplitude to be 0.5. Correct me if I'm wrong, but the clocking into my modules are what my sampling frequency is. It would have to match the MATLAB implemented into a MIF file and in my Verilog design. So by changing my input clock from 250MHz to 500MHz through PLL, my sampling frequency will give me double the samples (100 samples for 5MHz at 250MHz sampling frequency), raising the threshold of address manipulation before undersampling.