Declarative Part Rules

declarative_part_400

phase_5 error alignment

This rule checks the alignment of := operator for signal, constant and variable declarations.

Refer to Configuring Keyword Alignment Rules for information on changing the configurations.

Violation

signal clk : std_logic := '0';
variable reset : std_logic := '1';
shared variable enable : std_logic := '0';
constant reset_value : integer := 32;

Fix

signal clk : std_logic             := '0';
variable reset : std_logic         := '1';
shared variable enable : std_logic := '0';
constant reset_value : integer     := 32;