diff --git a/docs/constant_rules.rst b/docs/constant_rules.rst index e4cf53470..32ba345f4 100644 --- a/docs/constant_rules.rst +++ b/docs/constant_rules.rst @@ -17,7 +17,7 @@ This rule checks the indent of a constant declaration. architecture RTL of FIFO is constant size : integer := 1; - constant width : integer := 32 + constant width : integer := 32; **Fix** @@ -26,7 +26,7 @@ This rule checks the indent of a constant declaration. architecture RTL of FIFO is constant size : integer := 1; - constant width : integer := 32 + constant width : integer := 32; constant_002 ############ @@ -126,7 +126,7 @@ constant_007 |phase_1| |error| |structure| -This rule checks the **:=** is on the same line at the **constant** keyword. +This rule checks the **:=** is on the same line as the **constant** keyword. **Violation** @@ -144,7 +144,7 @@ This rule checks the **:=** is on the same line at the **constant** keyword. constant size : integer := 1; constant width : integer := - 32 + 32; constant_010 ############ diff --git a/vsg/rules/constant/rule_001.py b/vsg/rules/constant/rule_001.py index 4cd2dac2b..836c7dd6e 100644 --- a/vsg/rules/constant/rule_001.py +++ b/vsg/rules/constant/rule_001.py @@ -18,7 +18,7 @@ class rule_001(token_indent): architecture RTL of FIFO is constant size : integer := 1; - constant width : integer := 32 + constant width : integer := 32; **Fix** @@ -27,7 +27,7 @@ class rule_001(token_indent): architecture RTL of FIFO is constant size : integer := 1; - constant width : integer := 32 + constant width : integer := 32; """ def __init__(self): diff --git a/vsg/rules/constant/rule_007.py b/vsg/rules/constant/rule_007.py index 38adfa7db..8eeb3d746 100644 --- a/vsg/rules/constant/rule_007.py +++ b/vsg/rules/constant/rule_007.py @@ -9,7 +9,7 @@ class rule_007(Rule): """ - This rule checks the **:=** is on the same line at the **constant** keyword. + This rule checks the **:=** is on the same line as the **constant** keyword. **Violation** @@ -27,7 +27,7 @@ class rule_007(Rule): constant size : integer := 1; constant width : integer := - 32 + 32; """ def __init__(self):