Why is this an issue?

Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule checks that if generate statement labels match a provided regular expression.

How to fix it

Code examples

Noncompliant code example

With the default naming convention: ^[a-z]|[a-z]+[a-z0-9_]*[a-z0-9]+$
myLabel: if (q > 0) generate
begin
  ...
end generate;

Compliant solution

With the default naming convention: ^[a-z]|[a-z]+[a-z0-9_]*[a-z0-9]+$
my_label: if (q > 0) generate
begin
  ...
end generate;