HDL coder error,Call to function 'fmod' is not supported for HDL code generation,

Build the model to generate VerilogHDL, which is error reporting.
Call to function 'fmod' is not supported for HDL code generation, at Function 'mod' (#33554434.2195.2208), line 66, column 12 Function 'mod' (#33554434.1338.1351), line 34, column 9 Function 'ixfun' (#33554435.1762.1776), line 47, column 14 Function 'mod' (#33554432.2759.2823), line 75, column 9 Function 'Subsystem8/MATLAB Function2' (#165.78.91), line 5, column 11.
Design contains functions not supported for HDL code generation. See the HDL Coder report for details

답변 (1개)

Kiran Kintali
Kiran Kintali 2023년 2월 17일
This message scenerio happens when HDL Coder finds an unsupported function error.
Can you share a sample MATLAB code and Testbench files along with the project?

카테고리

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

제품

릴리스

R2021b

질문:

2023년 2월 17일

답변:

2023년 2월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by