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 个评论
denkvakva
denkvakva 2023-6-15
Yes, the goal is 128 samples per clock cycle while not changing the clock speed.

请先登录,再进行评论。

回答(1 个)

Sahas Marwah
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:

类别

Help CenterFile Exchange 中查找有关 HDL Code Generation 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by