From 416a03bfbb28ecca58d4eaf026e7e1029a365aa0 Mon Sep 17 00:00:00 2001 From: JHertz5 Date: Sun, 15 Dec 2024 09:45:46 +0000 Subject: [PATCH] Issue#1341: Added documentation for rule after_500. --- docs/after_rules.rst | 21 +++++++++++++++++++ ...figuring_uppercase_and_lowercase_rules.rst | 2 ++ docs/rule_groups/case_keyword_rule_group.rst | 1 + docs/rule_groups/case_rule_group.rst | 1 + 4 files changed, 25 insertions(+) diff --git a/docs/after_rules.rst b/docs/after_rules.rst index da6d1d01..4c3a373c 100644 --- a/docs/after_rules.rst +++ b/docs/after_rules.rst @@ -124,3 +124,24 @@ This rule checks the *after* keywords do not exist in the reset portion of a clo b <= c after 1 ns; end if; end process clk_proc; + +after_500 +######### + +|phase_6| |error| |case| |case_keyword| + +This rule checks the *after* keyword has proper case. + +|configuring_uppercase_and_lowercase_rules_link| + +**Violation** + +.. code-block:: vhdl + + a <= 1 AFTER 10 ns; + +**Fix** + +.. code-block:: vhdl + + a <= 1 after 10 ns; diff --git a/docs/configuring_uppercase_and_lowercase_rules.rst b/docs/configuring_uppercase_and_lowercase_rules.rst index 4b4d215a..6651f004 100644 --- a/docs/configuring_uppercase_and_lowercase_rules.rst +++ b/docs/configuring_uppercase_and_lowercase_rules.rst @@ -221,6 +221,8 @@ For example, if you want to uppercase everything except the entity name, you cou Rules Enforcing Case #################### +* `after_500 `_ + * `alias_declaration_500 `_ * `alias_declaration_501 `_ * `alias_declaration_502 `_ diff --git a/docs/rule_groups/case_keyword_rule_group.rst b/docs/rule_groups/case_keyword_rule_group.rst index 23b661e8..89d3929a 100644 --- a/docs/rule_groups/case_keyword_rule_group.rst +++ b/docs/rule_groups/case_keyword_rule_group.rst @@ -5,6 +5,7 @@ Case::Keyword Rule Group Rules Enforcing Case::Keyword Rule Group ######################################## +* `after_500 <../after_rules.html#after-500>`_ * `alias_declaration_500 <../alias_declaration_rules.html#alias-declaration-500>`_ * `alias_declaration_501 <../alias_declaration_rules.html#alias-declaration-501>`_ * `architecture_004 <../architecture_rules.html#architecture-004>`_ diff --git a/docs/rule_groups/case_rule_group.rst b/docs/rule_groups/case_rule_group.rst index 93bc1506..93d1a7f9 100644 --- a/docs/rule_groups/case_rule_group.rst +++ b/docs/rule_groups/case_rule_group.rst @@ -5,6 +5,7 @@ Case Rule Group Rules Enforcing Case Rule Group ############################### +* `after_500 <../after_rules.html#after-500>`_ * `alias_declaration_500 <../alias_declaration_rules.html#alias-declaration-500>`_ * `alias_declaration_501 <../alias_declaration_rules.html#alias-declaration-501>`_ * `alias_declaration_502 <../alias_declaration_rules.html#alias-declaration-502>`_