Industry coding standards recommend using certain HDL coding guidelines. HDL Coder™ generates code that follows industry-standard rules and generates a report that shows how well your generated HDL code conforms to industry coding standards.
HDL Coder checks for conformance of your Simulink® model or MATLAB® algorithm to the HDL coding standard rules. To fix errors or warnings related to these rules, update your model design. You can customize some of the coding standard rules.
|Create HDL coding standard customization object|
|HDL Coding Standard Customization Properties||Customize HDL coding standard|
HDL Code Advisor Overview
Guidelines Specific to VHDL
Simulink Configuration Parameters
Coding standard and Report Options
Coding Standard Rules
Split VHDL Entity and Architecture
HDL Coding Standard Report
Learn about HDL coding standards and rules.
What an HDL coding standard report is, the rule summary, and how you can fix warnings or errors related to rule violations.
Generate an HDL coding standard report from your Simulink model by using the Workflow Advisor or at the command line.
Generate an HDL lint tool script from Simulink to check the generated code with third-party lint tools.
HDL Coding Standard Rules Reference
A list of rules related to basic coding practices, the rule description, and how you can fix warnings or errors resulting from rule violations.
A list of rules related to RTL description techniques, the rule description, and how you can fix warnings or errors resulting from rule violations.
A list of rules related to RTL design methodology, the rule description, and how you can fix warnings or errors resulting from rule violations.
Coding Standard Considerations
Pass and fail examples of HDL code patterns for the check for the presence of assignments to the same variable in multiple cascaded conditional regions.