Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

FFT HDL Optimized block output is different from FFT block output

Status
Not open for further replies.

milruwan

Electrical
Joined
Jul 20, 2016
Messages
1
Location
LK
Hi... Everyone, I need to implement a n point fft on a Fpga. So, for the testing purpose I have created a simulation model to test the output of the n point fft and ifft model. The output from the n-point FFT HDL Optimized block is different from FFT block output. Whats going wrong with this simulation? How do I need to modify the model?

Simulink model
model_hr7iad.jpg


Configuration is as follows.

1. Created a sine wave with following parameters.
sine_wave_nu1kik.jpg


2. Parameters of FFT HDL Optimized block
fft_hdl_p7aht9.jpg


3. Parameters of IFFT HDL Optimized block
ifft_hdl_j2pqvd.jpg


4. Parameters of FFT block
fft_t5hpzh.jpg


5. Figure of FFT HDL Optimized block output
fft_hdl_f_bnqxys.jpg


6. Figure of IFFT HDL Optimized block output
times_oqol4p.jpg


7. Figure of FFT block output
fft_f_dbfoxv.jpg


Above (Figure of FFT block output) is the desired output. But fft/ifft hdl optimized outputs gives a wrong result. Please help me on this problem.

Thank You!
 
I might be wrong, but it looks to me that you are picking up harmonics in the optimized outputs. Try a longer length such as 256 points.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top