Can dsp.HDLFFT have controls on gate count, dimension and data width?

1 view (last 30 days)
I managed to generate some FFT from dsp.HDLFFT and it works nicely. My first question is, My FFT application has variable dimensions from 4K to 64K. Can I achieve that with dsp.HDLFFT? Secondly, can I control the data width growth with saturation and rounding?
Thank you.

Answers (1)

Bharath Venkataraman
Bharath Venkataraman on 8 Sep 2017
Current the HDL FFT does not support variable lengths. You can use the largest length needed (64K) and do bin mapping to run the smaller FFT lengths.
You can control bit widths by choosing scaling (every section gets divided by 2 and the output and input lengths stay the same). Not choosing scaling causes each section to grow an additional bit.

Categories

Find more on Code Generation in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!