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:

file_100

phase_2 disabled error whitespace

This rule checks for a single space before the identifier.

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

Violation

file           defaultImage : load_file_type open read_mode is load_file_name;

Fix

file defaultImage : load_file_type open read_mode is load_file_name;