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
|Model configuration checks overview|
|Check for model parameters suited for HDL code generation|
|Check model for foreign characters|
|Check for global reset setting for Xilinx and Altera devices|
|Check inline configurations setting|
|Check algebraic loops|
|Check for visualization settings|
|Check delay balancing setting|
|Check for blocks and block settings overview|
|Check for infinite and continuous sample time sources|
|Check for unsupported blocks|
|Identify unconnected lines, input ports, and output ports|
|Identify disabled library links|
|Identify unresolved library links|
|Check for MATLAB Function block settings|
|Check for Stateflow chart settings|
|Check Delay, Unit Delay and Zero-Order Hold blocks for rate transition|
|Check for obsolete Unit Delay Enabled/Resettable Blocks|
|Check for blocks that have nonzero output latency|
|Check for unsupported storage class for signal objects|
|Native Floating Point Checks Overview|
|Check for single datatypes in the model|
|Check for double datatypes in the model with Native Floating Point|
|Check for Data Type Conversion blocks with incompatible settings|
|Check for Relational Operator block usage|
|Check for HDL Reciprocal block usage|
|Check for unsupported blocks with Native Floating Point|
|Check blocks with nonzero ulp error|
Overview of the HDL Code Advisor, how to run various checks, fix warnings associated with the checks, and view and save reports.
The Model Advisor checks a model or subsystem for conditions and configuration settings that can result in inaccurate or inefficient simulation.
Overview of the HDL Code Advisor, what the various checks are, and where to find information pertaining to the checks.
How to check your models for HDL code generation compatibility.