Can the HDL FFT be made to process a vector that is greater than 64?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have the HDL coder FFT block and I want to send it twice the max vector size (i.e. 128 instead of 64). Is there an already established way to complete this so I don't have to reinvent the wheel?
3 Kommentare
Bharath Venkataraman
am 19 Jun. 2023
I suggest reaching out to MathWorks support with this question.
Antworten (1)
Sahas Marwah
am 13 Jun. 2023
Assuming that, you are using the HDL coder FFT block in Simulink and need the input vector size to be twice the maximum which is 64.
There are a few indirect ways you can do this:
1. One way is to split the input vector into multiple smaller vectors that can be processed separately by multiple FFT blocks. This can be achieved using MATLAB functions such as reshape, or mat2cell. You can then combine the outputs of each FFT block to generate the final output.
2. Use a streaming interface for the FFT block, which allows you to process large input vectors in smaller chunks. This can be done by setting the 'Streaming Architecture' parameter of the FFT block to 'On', which enables the use of serial or streaming interfaces for the block.
You can visit these documentation pages for more help on the above steps:
https://in.mathworks.com/help/wireless-hdl/ug/hdl-implementation-of-a-variable-size-fft.html -- HDL Implementation of Variable-Size FFT
https://www.mathworks.com/help/dsphdl/gs/generate-hdl-code-for-fft-hdl-optimized-block.html -- Implement FFT Algorithm for FPGA
0 Kommentare
Siehe auch
Kategorien
Mehr zu HDL Code Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!