Package Instantiation Rules
package_instantiation_001
This rule checks the new package identifier is on the same line as the package keyword.
Violation
package
my_pkg is new my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_002
This rule checks the is keyword is on the same line as the new package identifier.
Violation
package my_pkg
is new my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_003
This rule checks the new keyword is on the same line as the is keyword.
Violation
package my_pkg is
new my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_004
This rule checks the uninstantiated package name is on the same line as the new keyword.
Violation
package my_pkg is new
my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_100
This rule checks for a single space between the package keyword and the new package identifier.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
package my_pkg is new my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_101
This rule checks for a single space between the new package identifier and the is keyword.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
package my_pkg is new my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_102
This rule checks for a single space between the is keyword and the new keyword.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
package my_pkg is new my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_103
This rule checks for a single space between new keyword and the uninstantiated package name.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
package my_pkg is new my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_200
This rule checks for blank lines or comments above the package keyword.
Refer to Configuring Previous Line Rules for more information.
The default style is no_code
.
Violation
library ieee;
package my_pkg is new my_generic_pkg
Fix
library ieee;
package my_pkg is new my_generic_pkg
package_instantiation_201
This rule checks for blank lines below the package instantiation.
Refer to Configuring Blank Lines for more information.
The default style is no_blank_line
.
Violation
package my_pkg is new my_generic_pkg
generic map (
Fix
package my_pkg is new my_generic_pkg
generic map (
package_instantiation_300
This rule checks the indent of the package declaration.
Violation
library ieee;
package my_pkg is new my_generic_pkg
Fix
library ieee;
package my_pkg is new my_generic_pkg
package_instantiation_500
This rule checks the package keyword has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
PACKAGE my_pkg is new my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_501
This rule checks the instantiated package name has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
package MY_PKG is new my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_502
This rule checks the is keyword has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
package my_pkg IS new my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_503
This rule checks the new keyword has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
package my_pkg is NEW my_generic_pkg
Fix
package my_pkg is new my_generic_pkg
package_instantiation_504
This rule checks the uninstantiated package name has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
package my_pkg is new MY_GENERIC_PKG
Fix
package my_pkg is new my_generic_pkg
package_instantiation_600
This rule checks for valid suffixes on package identifiers. The default package suffix is _pkg.
Refer to Configuring Prefix and Suffix Rules for more information.
Violation
package foo is new my_generic_pkg
Fix
package foo_pkg is new my_generic_pkg
package_instantiation_601
This rule checks for valid prefixes on instantiated package identifiers. The default package prefix is pkg_.
Refer to Configuring Prefix and Suffix Rules for more information.
Violation
package foo is new my_generic_pkg
Fix
package pkg_foo is new my_generic_pkg