Main Content

Show passing rules in coding standard report

Filter the coding standard report so passing rules do not appear

Since R2020b

Model Configuration Pane: Global Settings / Coding standards


Specify whether to filter the coding standard report such that the passing rules do not appear. By default, the report displays pass, errors, warnings, messages, and lists the corresponding rules.


To clear the Report options check box, set the HDL coding standard parameter to Industry.


off (default) | on

Default: Off


Show all rules in the report including the messages and passing rules.


Shows rules with errors or warnings. The code generator filters out messages and passing rules from the report.


To set this property:

  1. Create an HDL coding standard customization object.

    cso = hdlcoder.CodingStandard('Industry');

  2. Set the ShowPassingRules property of the HDL coding standard customization object.

    For example, to omit passing rules from the report, enter:

    cso.ShowPassingRules.enable = false;

  3. Set the HDLCodingStandardCustomizations property to the HDL coding standard customization object, specify the coding standard, and generate code.

    For example, if your DUT is sfir_fixed/symmetric_fir, enter:

    makehdl('sfir_fixed/symmetric_fir', 'HDLCodingStandard','Industry', ...

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: ShowPassingRules property of hdlcoder.CodingStandard object
Type: character vector
Values:'on' | 'off'
Default: 'off'

Version History

Introduced in R2020b