Altera_Forum
Honored Contributor
16 years agosin waveform simulation result
I confused with the sine wave simulation result(frequency domain) between the display of NCO in IP toolbench and agilent vee simulation result(data extracted from tbl).
The spec for sin wave is: parellel cordic implementation 200k clock rate 20k sine wave 16 bit phase accumulator precision 16 bit angular resolution 24 bit magnitude precision phase modulation( 16bit modulator precision and pipeline level 1) FYI, i save simulation result as .tbl format as attached. Then i extract the data(time, fsin_o) wanted as attached based on the criteria that out_valid is high and clock transition( 0 to 1). The data(fsin_o) is feed to FFT and get the magnitude of fft and 20log magnitude of it before display. There is something wrong with the magnitude and somehow i dono what's wrong. sine wave in time domain is correct. Can someone clear my doubt? Am i extracting the wrong data? Thanks