Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

FFT HDL Optimized block output is different from FFT block output

Status
Not open for further replies.

milruwan

Electrical
Jul 20, 2016
1
0
0
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!
 
Replies continue below

Recommended for 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.
Back
Top