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

 채택된 답변

John Zhao
John Zhao 2011년 2월 15일

1 개 추천

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

댓글 수: 1

Bharath Venkataraman
Bharath Venkataraman 2017년 12월 22일
Note that the FFT HDL Optimized block supports both streaming and minimum resource implementations now. It also supports processing of multiple samples at a time.

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

추가 답변 (2개)

Kaustubha Govind
Kaustubha Govind 2011년 2월 14일

0 개 추천

Did you use the FFT block from the Simulink HDL Coder library: hdldemolib?
Dario Socci
Dario Socci 2011년 2월 14일

0 개 추천

No, i used the standard FFT block.

카테고리

도움말 센터File Exchange에서 HDL Code Generation에 대해 자세히 알아보기

제품

태그

질문:

2011년 2월 14일

댓글:

2017년 12월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by