HDL FFT Optimized. Valid Out always high
Show older comments
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!
Accepted Answer
More Answers (7)
Alireza
on 14 Oct 2014
0 votes
This is a bug in our implementation - we are looking into a patch for the issue.
Lennart
on 15 Oct 2014
0 votes
Alireza
on 15 Oct 2014
0 votes
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.
Lennart
on 15 Oct 2014
0 votes
Lennart
on 4 Nov 2014
0 votes
Lennart
on 16 Nov 2014
0 votes
Alireza
on 19 Nov 2014
0 votes
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.
Categories
Find more on Speed and Area Optimization in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!