File Rules

file_001

phase_4 error indent

This rule checks the indent of file declarations.

Violation

architecture rtl of fifo is

file defaultImage : load_file_type open read_mode is load_file_name;

file defaultImage : load_file_type open read_mode
is load_file_name;

begin

Fix

architecture rtl of fifo is

  file defaultImage : load_file_type open read_mode is load_file_name;

  file defaultImage : load_file_type open read_mode
    is load_file_name;

begin

file_002

phase_6 error case case_keyword

This rule checks the file keyword has proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

architecture rtl of fifo is

  FILE defaultImage : load_file_type open read_mode is load_file_name;

begin

Fix

architecture rtl of fifo is

  file defaultImage : load_file_type open read_mode is load_file_name;

begin

file_003

This rule was deprecated and replaced with rules: