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

5 次查看(过去 30 天)
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?

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by