Array Constraint Rules

array_constraint_100

phase_2 error whitespace

This rule checks for whitespace before the opening parenthesis.

Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..

Violation

subtype my_array3 is my_array2       (open)(7 downto 0);

Fix

subtype my_array3 is my_array2(open)(7 downto 0);

array_constraint_500

phase_6 error case case_keyword

This rule checks the open keyword in array constraints has the proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

subtype t_my_array is t_array(OPEN)(t_range);

Fix

subtype t_my_array is t_array(open)(t_range);