hdl code generation for function block

조회 수: 3 (최근 30일)
DEEKSHA GUPTA
DEEKSHA GUPTA 2018년 3월 15일
댓글: Bharath Venkataraman 2018년 3월 20일
I am using MATLAB function block for doing bit reversal in simulink model,I want to convert this simulink model into HDL code,then it is showing error that.. "Matlab function block is unsupported for hdl code generation while using native floating point" how to resolve this error.

답변 (1개)

Tim McBrayer
Tim McBrayer 2018년 3월 15일
Are you attempting to process single data types with your MATLAB Function block? This isn't supported by HDL Coder. In addition, as a single is a number and not a bit pattern to Simulink, it won't even have bits to reverse.
  댓글 수: 6
DEEKSHA GUPTA
DEEKSHA GUPTA 2018년 3월 20일
I am using MATLAB 2017 a
Bharath Venkataraman
Bharath Venkataraman 2018년 3월 20일
Just to check - can you stream the samples into the FFT one at a time? What is prompting the move to send in multiple samples into the FFT at a time?

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

카테고리

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