Can the HDL FFT be made to process a vector that is greater than 64?
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sahas Marwah
2023-6-13
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDL Code Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!