MATLAB: HDL generator problems

ffthdlHDL Coder

hello to everyone,
I built a simple Simulink model, made of a suorce block, an FFT block and a sink block:
(_in_)—->|_FFT_|—>(_out_)
When i try to generate an HDL code out of it, I got this warning:
Warning: For the block 'fftblk/FFT' Cannot find the implementation for block 'fftblk/FFT'
The hdl file thus generated does not includes the fft implementation. Am I doing something wrong or there are some blocks that are not supported by the HDL generator?
Thanks for your answers.
Dario

Best Answer

Simulink HDL Coder currently does not support this particular block (FFT block in Signal Processing Blockset). To find all the blocks supported by Simulink HDL Coder, type "hdllib" from MATLAB prompt.
There are 2 FFT blocks in HDL demo library that you can use for HDL code generation. "HDL Streaming FFT" block supports the Radix-2 with decimation-in-frequency (DIF) algorithm. "HDL FFT" block implements a minimum resource FFT architecture and supports the Radix-2 with decimation-in-time (DIT) algorithm.
John
Related Question