HDL FFT Optimized. Valid Out always high
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi everybody,
I'm currently using the FFT HDL Optimized Block in my project and I wonder why my Valid Out is ALWAYS high. Even if I stop to feed the FFT with new values it remains high. The output is nothing usefull and for sure not the spectrum of the input data. Does anyone know that problem?
What I did: I generated the VHDL Code from a simulink Modell which ONLY contained the FFT Block and In- and Outputs (Data_In, Valid_In, Data_Out, Valid_Out). Is it useful that I put my sourcecode here? I guess it would be rather confusing so I leave it out for now. Please let me know if it would help so I can add it later on. In the Simulink simulation I had the same problem. The FFT continuously got input values. It continuously outputted the correct spectrum again again and again without pulling valid_out back to low at any moment. Is that how it is supposed to work? According to the timing graphs in the documentation it is not is it?
Thank you for your time and help!
0 commentaires
Réponse acceptée
Alireza
le 11 Nov 2014
Hi Lennart,
The HDL is verified and matches Simulink behavior. One thing that you can do to verify the result is to generate HDL and HDL test bench, and run the test bench in ModelSim (or any HDL Simulator). Note that the FFT output is in bit reversed order in 14a release. In 14b you can choose between bit reversed and natural order output.
0 commentaires
Plus de réponses (7)
Alireza
le 14 Oct 2014
This is a bug in our implementation - we are looking into a patch for the issue.
0 commentaires
Alireza
le 15 Oct 2014
If you keep validIn high, the result is correct. Even in case the valid in is toggling, the HDL sends out the FFT of the input, mixed with some invalid data. But since valid out is high all the time, you don't know which output sample is correct and which one is not.
0 commentaires
Alireza
le 19 Nov 2014
Hi Lennart,
Here is the website that you can download the patch for 14a and 14b. Please read the release notes because the patch will upgrade the FFT to the latest version and you get more features. http://www.mathworks.com/support/bugreports/1090560
Please let me know how it goes and if the patch fixes your problem.
0 commentaires
Voir également
Catégories
En savoir plus sur HDL Coder dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!