Configuring Type of Instantiations

There are two methods to instantiate components: component or entity.

VSG can check which method is being used and throw a violation if the incorrect method is detected.

Option

Values

Default Value

Description

method

component, entity

component

  • component = Enforce component instantiation

  • entity = Enforce entity instantiation

This is an example of how to configure these options.

rule :
  instantiation_010:
     method: 'component'

Example: method set to component

The following code snippet would fail:

U_FIFO : entity fifo_dsn.FIFO(RTL)

Example: method set to entity

The following code snippet would fail:

U_FIFO : FIFO

Rules Enforcing Type of Instantiations