diff --git a/docs/block_rules.rst b/docs/block_rules.rst index 41e8dada..7f072262 100644 --- a/docs/block_rules.rst +++ b/docs/block_rules.rst @@ -582,7 +582,7 @@ block_600 This rule checks for valid suffixes on block labels. The default suffix is *_blk*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed suffixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed suffixes. **Violation** @@ -602,7 +602,7 @@ block_601 This rule checks for valid prefixes on block labels. The default prefix is *blk_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** diff --git a/docs/configuring_prefix_suffix_rules.rst b/docs/configuring_prefix_suffix_rules.rst index 6e7ffc76..39b9a12e 100644 --- a/docs/configuring_prefix_suffix_rules.rst +++ b/docs/configuring_prefix_suffix_rules.rst @@ -1,10 +1,10 @@ -Configuring Prefix Suffix Rules -------------------------------- +Configuring Prefix and Suffix Rules +----------------------------------- -There are several rules that enforce specific prefixes/suffixes in different name identifiers. -It is noted in the documentation, what the default prefixes/suffixes are for each such rule. +There are several rules that enforce specific prefixes or suffixes in different name identifiers. +It is noted in the documentation, what the default prefixes and suffixes are for each such rule. -All prefix/suffix rules are disabled by default. +All prefix and suffix rules are disabled by default. The defaults for each of these rules can be overridden using a configuration. .. NOTE:: Some elements have both prefix and suffix rules. Depending on the desired style, either or both can be enabled. @@ -43,11 +43,11 @@ We can use the following configuration to change allowed suffixes: disable: false suffixes: ['_i', '_o'] -Rules enforcing prefixes and suffixes +Rules Enforcing Prefixes and Suffixes ##################################### +-------------------------+----------------------------------------------------------------+----------------------------------------------------------------+ -| Element | Prefix Rule | Suffix Rule | +| **Element** | **Prefix Rule** | **Suffix Rule** | +-------------------------+----------------------------------------------------------------+----------------------------------------------------------------+ | Block Label | `block_601 `_ | `block_600 `_ | +-------------------------+----------------------------------------------------------------+----------------------------------------------------------------+ @@ -55,13 +55,13 @@ Rules enforcing prefixes and suffixes +-------------------------+----------------------------------------------------------------+----------------------------------------------------------------+ | Generate Label | `generate_017 `_ | NA | +-------------------------+----------------------------------------------------------------+----------------------------------------------------------------+ -| Generic Name | `generic_020 `_ | NA | +| Generic Identifier | `generic_020 `_ | NA | +-------------------------+----------------------------------------------------------------+----------------------------------------------------------------+ | Package Identifier | `package_017 `_ | `package_016 `_ | +-------------------------+----------------------------------------------------------------+----------------------------------------------------------------+ | Package Body Identifier | `package_body_601 `_ | `package_body_600 `_ | +-------------------------+----------------------------------------------------------------+----------------------------------------------------------------+ -| Port Name | `port_011 `_ | `port_025 `_ | +| Port Identifier | `port_011 `_ | `port_025 `_ | +-------------------------+----------------------------------------------------------------+----------------------------------------------------------------+ | Process Label | `process_036 `_ | NA | +-------------------------+----------------------------------------------------------------+----------------------------------------------------------------+ diff --git a/docs/constant_rules.rst b/docs/constant_rules.rst index d5118066..6595bbc2 100644 --- a/docs/constant_rules.rst +++ b/docs/constant_rules.rst @@ -290,7 +290,7 @@ constant_015 This rule checks for valid prefixes on constant identifiers. The default constant prefix is *c\_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** diff --git a/docs/generate_rules.rst b/docs/generate_rules.rst index df1964df..2ba14743 100644 --- a/docs/generate_rules.rst +++ b/docs/generate_rules.rst @@ -328,7 +328,7 @@ generate_017 This rule checks for valid prefixes on generate statement labels. The default prefix is *gen\_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** diff --git a/docs/generic_rules.rst b/docs/generic_rules.rst index d43b430d..6e60e9aa 100644 --- a/docs/generic_rules.rst +++ b/docs/generic_rules.rst @@ -338,7 +338,7 @@ generic_020 This rule checks for valid prefixes on generic identifiers. The default generic prefix is *g\_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** diff --git a/docs/instantiation_rules.rst b/docs/instantiation_rules.rst index 5173a9df..11f29f6d 100644 --- a/docs/instantiation_rules.rst +++ b/docs/instantiation_rules.rst @@ -501,7 +501,7 @@ instantiation_600 This rule checks for valid suffixes on instantiation labels. The default suffix is *_inst*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed suffixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed suffixes. **Violation** @@ -521,7 +521,7 @@ instantiation_601 This rule checks for valid prefixes on instantiation labels. The default prefix is *inst_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** diff --git a/docs/package_body_rules.rst b/docs/package_body_rules.rst index acca65fe..ca2db8ff 100644 --- a/docs/package_body_rules.rst +++ b/docs/package_body_rules.rst @@ -419,7 +419,7 @@ package_body_600 This rule checks for valid suffixes on package body identifiers. The default package suffix is *_pkg*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed suffixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed suffixes. **Violation** @@ -439,7 +439,7 @@ package_body_601 This rule checks for valid prefixes on package body identifiers. The default package prefix is *pkg_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** diff --git a/docs/package_rules.rst b/docs/package_rules.rst index 2e917aea..6abb7266 100644 --- a/docs/package_rules.rst +++ b/docs/package_rules.rst @@ -302,7 +302,7 @@ package_016 This rule checks for valid suffixes on package identifiers. The default package suffix is *_pkg*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed suffixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed suffixes. **Violation** @@ -323,7 +323,7 @@ package_017 This rule checks for valid prefixes on package identifiers. The default package prefix is *pkg_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** diff --git a/docs/port_rules.rst b/docs/port_rules.rst index 973de408..1ae6494c 100644 --- a/docs/port_rules.rst +++ b/docs/port_rules.rst @@ -229,7 +229,7 @@ port_011 This rule checks for valid prefixes on port identifiers. The default port prefixes are: *i\_*, *o\_*, *io\_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** @@ -603,7 +603,7 @@ port_025 This rule checks for valid suffixes on port identifiers. The default port suffixes are *_i*, *_o*, *_io*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed suffixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed suffixes. **Violation** diff --git a/docs/process_rules.rst b/docs/process_rules.rst index 508a62db..e1789f87 100644 --- a/docs/process_rules.rst +++ b/docs/process_rules.rst @@ -936,7 +936,7 @@ process_036 This rule checks for valid prefixes on process labels. The default prefix is *proc\_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** diff --git a/docs/signal_rules.rst b/docs/signal_rules.rst index aa4874e1..cef86b04 100644 --- a/docs/signal_rules.rst +++ b/docs/signal_rules.rst @@ -134,7 +134,7 @@ signal_008 This rule checks for valid prefixes on signal identifiers. Default signal prefix is *s\_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** diff --git a/docs/subtype_rules.rst b/docs/subtype_rules.rst index 797183b6..1ef66214 100644 --- a/docs/subtype_rules.rst +++ b/docs/subtype_rules.rst @@ -76,7 +76,7 @@ subtype_004 This rule checks for valid prefixes in subtype identifiers. The default new subtype prefix is *st\_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** diff --git a/docs/type_rules.rst b/docs/type_rules.rst index 92d69685..fe1a3b4e 100644 --- a/docs/type_rules.rst +++ b/docs/type_rules.rst @@ -299,7 +299,7 @@ type_015 This rule checks for valid prefixes in user defined type identifiers. The default new type prefix is *t\_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation** diff --git a/docs/update.sed b/docs/update.sed index 34554282..e70c2a96 100644 --- a/docs/update.sed +++ b/docs/update.sed @@ -1,2 +1,2 @@ -s/Configuring Suffix Rules/Configuring Prefix Suffix Rules/g -s/Configuring Prefix Rules/Configuring Prefix Suffix Rules/g +s/Configuring Prefix Suffix Rules/Configuring Prefix and Suffix Rules/g +s/configuring-prefix-suffix-rules/configuring-prefix-and-suffix-rules/g diff --git a/docs/variable_rules.rst b/docs/variable_rules.rst index f33389e6..93f1f32b 100644 --- a/docs/variable_rules.rst +++ b/docs/variable_rules.rst @@ -209,7 +209,7 @@ variable_012 This rule checks for valid prefixes on variable identifiers. The default variable prefix is *v\_*. -Refer to the section `Configuring Prefix Suffix Rules `_ for information on changing the allowed prefixes. +Refer to the section `Configuring Prefix and Suffix Rules `_ for information on changing the allowed prefixes. **Violation**