FFT Error on FPGA with FPGA in the Loop workflow
4 ビュー (過去 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 件のコメント
Navya Seelam
2019 年 9 月 26 日
Why did you use Complex to Real-Imag block when the Out1 is always real?
回答 (1 件)
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.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!