Main Content

HDL coding standard

Enable the Industry coding standard guidelines

Model Configuration Pane: Global Settings / Coding standards


Specify whether to enable the Industry coding standard guidelines that the generated HDL code must conform to.


When you set the HDLCodingStandard to Industry, configuration parameters such as PackagePostfix, MinimizeClockEnables, MinimizeGlobalResets, and InstancePrefix are ignored.


None (default) | Industry

Default: None


Generate generic synthesizable HDL code. The generated code need not conform with the Industry standard guidelines.


Generate synthesizable HDL code that follows the industry standard rules supported by HDL Coder™. When you specify the Industry setting, the code generator enables the Report options check box and rules that you can customize in the Coding Standards tab.

When you specify the Industry setting and generate code, HDL Coder generates a standards compliance report. The report displays errors, warnings, messages, and lists the corresponding rules. To filter the report such that the passing rules do not appear, clear the Report options check box.


To set this property, use the functions hdlset_param or makehdl. To view the property value, use the function hdlget_param.

For example, you can enable the Industry standard guidelines compliance for the symmetric_fir subsystem inside the sfir_fixed model using either of these methods.

  • Use hdlset_param to set the parameter on the model. Then generate HDL code using makehdl.


  • Pass the property as an argument to the makehdl function.


Recommended Settings

No recommended settings.

Programmatic Use

Parameter: HDLCodingStandard
Type: character vector
Value: 'None' | 'Industry'
Default: 'None'

Version History

Introduced in R2013a