Skip to content

Latest commit

 

History

History
74 lines (43 loc) · 1.16 KB

case_generate_alternative_rules.rst

File metadata and controls

74 lines (43 loc) · 1.16 KB

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.

Violation

WHEN choices =>

Fix

when choices =>

case_generate_alternative_501

This rule checks the others keyword has proper case.

Violation

when OTHERS =>

Fix

when others =>