HDL FFT Optimized. Valid Out always high
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Alireza
2014 年 11 月 11 日
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 件のコメント
その他の回答 (7 件)
Alireza
2014 年 10 月 14 日
This is a bug in our implementation - we are looking into a patch for the issue.
0 件のコメント
Alireza
2014 年 10 月 15 日
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 件のコメント
Alireza
2014 年 11 月 19 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で HDL Coder についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!