Report Statement Rules¶
report_statement_001¶
This rule removes labels on report_statement_statements.
Violation
REPORT_LABEL : report "FIFO width is limited to 16 bits.";
Fix
report "FIFO width is limited to 16 bits.";
report_statement_002¶
This rule checks the severity keyword is on its own line.
Violation
report "FIFO width is limited to 16 bits." severity FAILURE;
Fix
report "FIFO width is limited to 16 bits."
severity FAILURE;
report_statement_100¶
This rule checks for a single space after the report keyword.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
report "FIFO width is limited to 16 bits.";
Fix
report "FIFO width is limited to 16 bits.";
report_statement_101¶
This rule checks for a single space after the severity keyword.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
report "FIFO width is limited to 16 bits."
severity FAILURE;
Fix
report "FIFO width is limited to 16 bits."
severity FAILURE;
report_statement_300¶
This rule checks indent of multiline report statements.
Violation
report "FIFO width is limited to 16 bits."
severity FAILURE;
Fix
report "FIFO width is limited to 16 bits."
severity FAILURE;
report_statement_400¶
This rule checks the alignment of the report expressions.
Note
There is a configuration option alignment which changes the indent location of multiple lines.
alignment set to ‘report’ (Default)¶
Violation
report "FIFO width is limited" &
" to 16 bits."
severity FAILURE;
Fix
report "FIFO width is limited" &
" to 16 bits."
severity FAILURE;
alignment set to ‘left’¶
Violation
report "FIFO width is limited" &
" to 16 bits."
severity FAILURE;
Fix
report "FIFO width is limited" &
" to 16 bits."
severity FAILURE;
report_statement_500¶
This rule checks the report keyword has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
REPORT "FIFO width is limited to 16 bits."
severity FAILURE;
report "FIFO width is limited to 16 bits."
severity FAILURE;
report_statement_501¶
This rule checks the severity keyword has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
report "FIFO width is limited to 16 bits."
SEVERITY FAILURE;
report "FIFO width is limited to 16 bits."
severity FAILURE;