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.
hdlcoder.CodingStandard | Create HDL coding standard customization object |
HDL Coding Standard Customization Properties | Customize HDL coding standard |
Learn about HDL coding standards and the various kinds of rules.
What is an HDL coding standard report, the rule summary, and how you can fix warnings or errors related to rule violations.
Generate an HDL Coding Standard Report from Simulink
How you can generate an HDL coding standard from your Simulink model with the Workflow Advisor or from the Command line.
Generate an HDL Lint Tool Script
How to generate an HDL lint tool script from Simulink to check the generated code with third-party lint tools.
Contains a list of various kinds of rules related to basic coding practices, the rule description, and how you can fix warnings or errors resulting from rule violations.
Contains a list of various kinds of rules related to RTL description techniques, the rule description, and how you can fix warnings or errors resulting from rule violations.
RTL Design Methodology Guidelines
Contains a list of various kinds of rules related to RTL design methodology, the rule description, and how you can fix warnings or errors resulting from rule violations.