Sequential Rules

sequential_001

This rule checks the indent of sequential statements.

Violation

begin

    wr_en <= '1';
rd_en <= '0';

Fix

begin

  wr_en <= '1';
  rd_en <= '0';

sequential_002

This rule checks for a single space after the <= operator.

Violation

wr_en <=     '1';
rd_en <='0';

Fix

wr_en <= '1';
rd_en <= '0';

sequential_003

This rule checks for at least a single space before the <= operator.

Violation

wr_en<= '1';
rd_en   <= '0';

Fix

wr_en <= '1';
rd_en   <= '0';

sequential_004

This rule checks the alignment of multiline sequential statements.

Violation

overflow <= wr_en and
  rd_en;

Fix

overflow <= wr_en and
            rd_en;

sequential_005

This rule checks the alignment of the <= operators over consecutive sequential lines.

Following extra configurations are supported:

  • if_control_statements_end_group,
  • case_control_statements_end_group.

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

Violation

wr_en <= '1';
rd_en   <= '0';

Fix

wr_en <= '1';
rd_en <= '0';

sequential_006

This rule checks for comments within multiline sequential statements.

Violation

overflow <= wr_en and
 --         rd_address(0)
            rd_en;

Fix

overflow <= wr_en and
            rd_en;