How to implement a real-time fft for FPGA with matlab or simulink ?

조회 수: 7 (최근 30일)
I already know that there is a FFT HDL Optimized Block in Simulink that can be used to generate HDL Code for later on FPGA implementation.
But does this block calculate the FFT real-time ? If not, how do i implement it ? and if yes, how do i configure its attributes (FFTLength, etc.) ?

채택된 답변

Bharath Venkataraman
Bharath Venkataraman 2021년 8월 13일
The HDL code from the FFT HDL Optimized does do processing in real-time with streaming samples. It also allows you to process multiple samples every clock to increase your throughput to Gigasamples per second. You can set the parameters on the mask of the block and the number of samples you feed in to the block decides how many samples it processes on the FPGA.
  댓글 수: 5
Bharath Venkataraman
Bharath Venkataraman 2021년 8월 15일
For an FFT length of 8, the blocks will take elements in 1,2,4, or 8 at a time (you decided this in your model), and then give you the FFT output for every 8-samples of input. After the 8th sample, you go to sample 1 of the next frame and so on. Turn on start and end of frame signals on the output to see the behavior.
Youssef Abdelsalam
Youssef Abdelsalam 2021년 8월 16일
Thank you so much for your answer :-)!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 HDL Code Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by