Borrar filtros
Borrar filtros

FFT Error on FPGA with FPGA in the Loop workflow

1 visualización (últimos 30 días)
Jan Gleinser
Jan Gleinser el 8 de Ag. de 2019
Respondida: zhang zheng el 18 de Abr. de 2020
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 comentario
Navya Seelam
Navya Seelam el 26 de Sept. de 2019
Why did you use Complex to Real-Imag block when the Out1 is always real?

Iniciar sesión para comentar.

Respuestas (1)

zhang zheng
zhang zheng el 18 de Abr. de 2020
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.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by