Attribute Declaration Rules¶
attribute_declaration_100¶
This rule checks for a single space after the following elements: attribute keyword and colon.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
attribute max_delay : time;
Fix
attribute max_delay : time;
attribute_declaration_101¶
This rule checks for at least a single space before the colon.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
attribute max_delay: time;
Fix
attribute max_delay : time;
attribute_declaration_300¶
This rule checks the indent of the attribute keyword.
Violation
signal sig1 : std_logic;
attribute max_delay : time;
Fix
signal sig1 : std_logic;
attribute max_delay : time;
attribute_declaration_500¶
This rule checks the attribute keyword has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
ATTRIBUTE max_delay : time;
Fix
attribute max_delay : time;
attribute_declaration_501¶
This rule checks the identifier has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
attribute MAX_DELAY : time;
Fix
attribute max_delay : time;
attribute_declaration_502¶
This rule checks the type_mark has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
attribute max_delay : TIME;
Fix
attribute max_delay : time;