Main Content

Model Compatibility Checks

Description of the HDL Code Advisor, and how to use it to check and update your model for compatibility with HDL code generation

Use the HDL Code Advisor or the HDL Coder checks in the Model Advisor to verify and update your Simulink® model or subsystem for compatibility with HDL code generation. You can select and run the checks for model configuration, native floating-point support, and industry-standard guidelines. When you run the checks, the Code Advisor displays the result as a pass or a fail. For a fail status, the Code Advisor lists model settings or conditions that are not compliant with HDL Coder™. You can fix warnings or failures by using the Code Advisor recommended settings


expand all

hdlcodeadvisorOpen HDL Code Advisor
modeladvisorOpen Model Advisor
checkhdlCheck subsystem or model for HDL code generation compatibility
hdllibDisplay blocks that are compatible with HDL code generation
hdlsetupSet up model parameters for HDL code generation


expand all


Related Information