Check for Trigonometric Function block for LUT-based approximation method
Check ID:
com.mathworks.HDL.ModelChecker.runUnsupportedLUTTrigFunChecks
Check
ID:com.mathworks.HDL.ModelAdvisor.runUnsupportedLUTTrigFunChecks
Check Trigonometric Function blocks in a model that use the look up table (LUT) based approximation method
Description
This check displays a warning if your Simulink® model contains Trigonometric Function blocks such as
sin
, cos
, sincos
,
atan2
, and cos+jsin
that use the
approximation method as Lookup
.
This check requires Simulink and HDL Coder™.
Results and Recommended Actions
To fix this warning for sin
, cos
,
sincos
, and cos+jsin
blocks that have the
LUT-based approximation method, use Sine HDL Optimized or
Cosine HDL Optimized blocks instead.
Capabilities and Limitations
Provides the list of the unsupported Trigonometric Function blocks that have the LUT-based approximation method in your Simulink model.
HDL code generation is not supported for the
atan2
block in the LUT-based approximation method.