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!