Sequential Rules

sequential_001

phase_4 error indent

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

phase_2 error whitespace

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

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

Violation

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

Fix

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

sequential_003

phase_2 error whitespace

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

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

Violation

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

Fix

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

sequential_004

phase_5 error alignment

This rule checks the alignment of multiline sequential statements.

Refer to Configuring Multiline Indent Rules for more information.

Violation

overflow <= wr_en and
  rd_en;

Fix

overflow <= wr_en and
            rd_en;

sequential_005

This rule has been deprecated and replaced with rule process_400.

sequential_006

phase_2 error structure

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;

sequential_007

phase_1 error structure

This rule checks for code after a sequential assignment.

Violation

a <= '0'; b <= '1'; c <= '0'; -- comment

Fix

a <= '0';
b <= '1';
c <= '0'; -- comment

sequential_008

phase_1 error structure

This rule checks the structure of simple and conditional sequential signal assignments.

Refer to Configuring Simple Multiline Structure Rules for more information.

Violation

wr_en <=
  '0' when q_wr_en = '1' else
         '1';

w_foo <=
  I_FOO when ((I_BAR = '1') and
                     (I_CRUFT = '1')) else
         '0';

Fix

wr_en <= '0' when q_wr_en = '1' else
         '1';

w_foo <= I_FOO when ((I_BAR = '1') and
                     (I_CRUFT = '1')) else
         '0';

sequential_009

phase_1 error structure

This rule checks the structure of multiline simple sequential signal assignments that contain arrays.

Refer to Configuring Array Multiline Structure Rules for more information.

Violation

wr_data <= (0, 65535, 32768);

Fix

wr_data <=
(
  0,
  65535,
  32768
);

sequential_400

phase_5 error alignment

This rule checks the alignment the => operator in record aggregates.

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

Violation

interface <= (
              write_words => 12,
              read_words => 32
              address => 57
             );

Fix

interface <= (
              write_words => 12,
              read_words  => 32
              address     => 57
             );

sequential_401

phase_5 error alignment

This rule checks alignment of multiline sequential conditional signal assignments.

Refer to Configuring Conditional Multiline Indent Rules for more information.

Violation

wr_en <= '0' when q_wr_en = '1' else
     '1';

w_foo <= I_FOO when ((I_BAR = '1') and
         (I_CRUFT = '1')) else
         '0';

Fix

wr_en <= '0' when q_wr_en = '1' else
         '1';

w_foo <= I_FOO when ((I_BAR = '1') and
                     (I_CRUFT = '1')) else
         '0';

sequential_402

phase_5 error alignment

This rule checks the alignment of multiline simple sequential signal assignments that contain arrays.

Refer to Configuring Multiline Indent Rules for more information.

Violation

wr_data <=
(
         0,
     65535,
     32768
  );

Fix

wr_data <=
(
  0,
  65535,
  32768
);