Attribute Specification Rules¶
attribute_specification_100¶
This rule checks for a single space after the following attribute_specification elements: attribute keyword, attribute_designator, of keyword and is keyword.
Violation
attribute coordinate of comp_1:component is (0.0, 17.5);
attribute coordinate of comp_1:component is(0.0, 17.5);
Fix
attribute coordinate of comp_1:component is (0.0, 17.5);
attribute coordinate of comp_1:component is (0.0, 17.5);
attribute_specification_101¶
This rule checks for a single space before the is keyword.
Violation
attribute coordinate of comp_1 : component is (0.0, 17.5);
Fix
attribute coordinate of comp_1 : component is (0.0, 17.5);
attribute coordinate of comp_1 : component is (0.0, 17.5);
attribute_specification_300¶
This rule checks the indent of the attribute keyword.
Violation
signal sig1 : std_logic;
attribute coordinate of comp_1 : component is (0.0, 17.5);
Fix
signal sig1 : std_logic;
attribute coordinate of comp_1 : component is (0.0, 17.5);
attribute_specification_500¶
This rule checks the attribute keyword has proper case.
Refer to the section Configuring Uppercase and Lowercase Rules for information on changing the default case.
Violation
ATTRIBUTE coordinate of comp_1 : component is (0.0, 17.5);
Fix
attribute coordinate of comp_1 : component is (0.0, 17.5);
attribute_specification_501¶
This rule checks the attribute_designator has proper case.
Refer to the section Configuring Uppercase and Lowercase Rules for information on changing the default case.
Violation
attribute COORDINATE of comp_1 : component is (0.0, 17.5);
Fix
attribute coordinate of comp_1 : component is (0.0, 17.5);
attribute_specification_502¶
This rule checks the of keyword has proper case.
Refer to the section Configuring Uppercase and Lowercase Rules for information on changing the default case.
Violation
attribute coordinate OF comp_1 : component is (0.0, 17.5);
Fix
attribute coordinate of comp_1 : component is (0.0, 17.5);
attribute_specification_503¶
This rule checks the is keyword has proper case.
Refer to the section Configuring Uppercase and Lowercase Rules for information on changing the default case.
Violation
attribute coordinate of comp_1 : component IS (0.0, 17.5);
Fix
attribute coordinate of comp_1 : component is (0.0, 17.5);