HDL Workflow Advisor: Error: Math function square is not supported for HDL code generation
조회 수: 4 (최근 30일)
이전 댓글 표시
I'm trying to generate HDL code from my Simulink fixed point model, but at 2.3 Check Block Compatibility, the HDL Workflow Advisor returns the following error: "Math function square is not supported for HDL code generation". I am using four math function blocks with the squre function. Should the block not support HDL code generation?
The input of the block is a fixed(0,18,10) and the output is a fixed(0,18,5).
댓글 수: 0
답변 (1개)
Navya Seelam
2020년 5월 14일
You can generate HDL for square block in Native Floating Point mode and this can be done by changing Configuration Parameters --> HDL Code Generation--> Floating Point---> Floating Point IP Library . Moreover, the input must be of the data type single.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Model Compatibility Checks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!