Coding Standards and Reports

Coding standard report, lint tool scripts, and list of coding standard rules

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 MATLAB® algorithm or Simulink® model 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.

Apps

HDL Coder Generate HDL code from MATLAB code

Functions

hdlcoder.CodingStandardCreate HDL coding standard customization object

Properties

Topics

Reports

HDL Coding Standards

Learn about HDL coding standards and the various kinds of rules.

HDL Coding Standard Report

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 MATLAB

How to generate a coding standard report for a model

Generate an HDL Lint Tool Script

How to generate lint tool scripts and integrate with third-party tools

Code Generation Reports

View code generation results.

HDL Coding Standard Rules Reference

Basic Coding Practices

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.

RTL Description Techniques

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.