Subprogram Body Rules¶
subprogram_body_400¶
This rule checks the alignment of the <= and := operators over consecutive sequential assignments in subprogram bodies.
Following extra configurations are supported:
if_control_statements_ends_group
,case_control_statements_ends_group
.case_keyword_statements_ends_group
.loop_control_statements_ends_group
,
Refer to the section Configuring Keyword Alignment Rules for information on changing the configurations.
Violation
wr_en <= '1';
rd_en <= '0';
v_variable := 10;
Fix
wr_en <= '1';
rd_en <= '0';
v_variable := 10;