Updates for issue #758

Minor fixes to documentation.

  1)  Updated Fixed code snippet for rule assert_005
  2)  Updated Fixed code snippet for rule loop_statement_201
  3)  Updated Fixed code snippet for rule report_statement_001
This commit is contained in:
Jeremiah Leary 2022-04-25 20:38:20 -05:00
parent 99dfc6a73b
commit 63d06c4f36
6 changed files with 8 additions and 6 deletions

View File

@ -163,8 +163,8 @@ This rule checks the **severity** keyword is on its own line for sequential asse
process begin
assert WIDTH > 16
report "FIFO width is limited to 16 bits." severity FAILURE;
assert WIDTH > 16 report "FIFO width is limited to 16 bits."
severity FAILURE;
end process;

View File

@ -325,6 +325,7 @@ This rule checks for blank lines below the **loop** keyword.
.. code-block:: vhdl
loop
a <= b;
loop_statement_202

View File

@ -20,7 +20,7 @@ This rule removes labels on report_statement_statements.
.. code-block:: vhdl
REPORT_LABEL : report "FIFO width is limited to 16 bits.";
report "FIFO width is limited to 16 bits.";
report_statement_002
####################

View File

@ -39,8 +39,8 @@ class rule_005(split_line_at_token_when_between_tokens_unless_token_is_found):
process begin
assert WIDTH > 16
report "FIFO width is limited to 16 bits." severity FAILURE;
assert WIDTH > 16 report "FIFO width is limited to 16 bits."
severity FAILURE;
end process;

View File

@ -22,6 +22,7 @@ class rule_201(blank_line_below_line_ending_with_token):
.. code-block:: vhdl
loop
a <= b;
'''

View File

@ -18,7 +18,7 @@ class rule_001(remove_tokens_bounded_by_tokens_and_remove_trailing_whitespace):
.. code-block:: vhdl
REPORT_LABEL : report "FIFO width is limited to 16 bits.";
report "FIFO width is limited to 16 bits.";
'''
def __init__(self):