FFT Error on FPGA with FPGA in the Loop workflow

1 次查看(过去 30 天)
I recently started to work with FPGA's and I am currently trying to implement an FFT on the FPGA of my Zedboard.
For this purpose I started with this simple example:
My main aim would be to use IP Core Generation Workflow, however, therefore no complex values are supported yet (if somebody knows how to solve this problem tell me pls!).
So, instead of IP Core Generation I am trying to use the "FPGA in the Loop" Workflow. Unfortunetaly the results when I try to do the FFT on the FPGA diverges massively from when I just do it with the HDL Coder Block in Simulink (see in the Pictures, on the left the FFT on the FPGA).
Obviously it is indeed the same signal but somehow it looks like a quantisation Error or something to me.
The FIL-model is also attached to the question.
So my question is, if somebody got an idea through which causes this kind of error can arise.
Thanks in advance!

回答(1 个)

zhang zheng
zhang zheng 2020-4-18
i've tested the simulink model you attached. i think maybe you attached the wrong model?
in the attached model,
1. you combine the real and imag part togeter as an uint32 as the input to the fft. i think no need to do this. you can just input the data as complex data, and fixdt(1,16,13).
2. the dimension of the data source is 8, i think this may lead 8 fft processors in parallel. you can try scalar input first.

产品


版本

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by