File Open Information Rules

file_open_information_100

phase_2 error whitespace

This rule checks for a single space before the open keyword.

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;

file_open_information_101

phase_2 error whitespace

This rule checks for a single space after the open keyword.

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;

file_open_information_102

phase_2 error whitespace

This rule checks for a single space before the is keyword.

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;

file_open_information_103

phase_2 error whitespace

This rule checks for a single space after the is keyword.

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;

file_open_information_500

phase_6 error case case_keyword

This rule checks the open 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_open_information_501

phase_6 error case case_keyword

This rule checks the file open kind expression 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_open_information_502

phase_6 error case case_keyword

This rule checks the is 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