If Generate Statement Rules

if_generate_statement_300

phase_4 error indent

This rule checks the indent of the elsif keyword.

Violation

ram_array : if condition generate
   elsif condition generate
end generate;

Fix

ram_array : if condition generate
elsif condition generate
end generate;

if_generate_statement_301

phase_4 error indent

This rule checks the indent of the else keyword.

Violation

ram_array : if condition generate
   else
end generate;

Fix

ram_array : if condition generate
else
end generate;

if_generate_statement_500

phase_6 error case case_keyword

This rule checks the if keyword has proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

IF condition generate

Fix

if condition generate

if_generate_statement_501

phase_6 error case case_keyword

This rule checks the generate keyword has proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

if condition GENERATE
elsif condition GENERATE
else GENERATE

Fix

if condition generate
elsif condition generate
else generate

if_generate_statement_502

phase_6 error case case_keyword

This rule checks the elsif keyword has proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

ELSIF condition generate

Fix

elsif condition generate

if_generate_statement_503

phase_6 error case case_keyword

This rule checks the else keyword has proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

ELSE generate

Fix

else generate