Case Generate Alternative Rules¶
case_generate_alternative_300¶
This rule aligns consecutive comment only lines above a when keyword in a case generate statement with the when keyword.
Violation
-- comment 1
-- comment 2
-- comment 3
when wr_en =>
rd_en <= '0';
Fix
-- comment 1
-- comment 2
-- comment 3
when wr_en =>
rd_en <= '0';
case_generate_alternative_500¶
This rule checks the when keyword has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
WHEN choices =>
Fix
when choices =>
case_generate_alternative_501¶
This rule checks the others keyword has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
when OTHERS =>
Fix
when others =>