pyVHDLModel.Interface

This module contains parts of an abstract document language model for VHDL.

Interface items are used in generic, port and parameter declarations.

Classes


Classes

class pyVHDLModel.Interface.InterfaceItemMixin(documentation=None)[source]

An InterfaceItem is a base-class for all mixin-classes for all interface items.

Inheritance

Inheritance diagram of InterfaceItemMixin

Parameters:

documentation (str | None)

__init__(documentation=None)[source]

Initializes a documented entity.

Parameters:

documentation (Optional[str]) – Documentation of a model entity.

Return type:

None

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

_documentation: Optional[str]

The associated documentation of a model entity.

class pyVHDLModel.Interface.InterfaceItemWithModeMixin(mode)[source]

An InterfaceItemWithMode is a mixin-class to provide a Mode to interface items.

Inheritance

Inheritance diagram of InterfaceItemWithModeMixin

Parameters:

mode (Mode)

__init__(mode)[source]
Parameters:

mode (Mode)

Return type:

None

class pyVHDLModel.Interface.GenericInterfaceItemMixin(documentation=None)[source]

A GenericInterfaceItem is a mixin class for all generic interface items.

Inheritance

Inheritance diagram of GenericInterfaceItemMixin

Parameters:

documentation (str | None)

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

__init__(documentation=None)

Initializes a documented entity.

Parameters:

documentation (Optional[str]) – Documentation of a model entity.

Return type:

None

_documentation: Optional[str]

The associated documentation of a model entity.

class pyVHDLModel.Interface.PortInterfaceItemMixin(mode)[source]

A PortInterfaceItem is a mixin class for all port interface items.

Inheritance

Inheritance diagram of PortInterfaceItemMixin

Parameters:

mode (Mode)

__init__(mode)[source]

Initializes a documented entity.

Parameters:
  • documentation – Documentation of a model entity.

  • mode (Mode)

Return type:

None

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

_documentation: Optional[str]

The associated documentation of a model entity.

class pyVHDLModel.Interface.ParameterInterfaceItemMixin(documentation=None)[source]

A ParameterInterfaceItem is a mixin class for all parameter interface items.

Inheritance

Inheritance diagram of ParameterInterfaceItemMixin

Parameters:

documentation (str | None)

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

__init__(documentation=None)

Initializes a documented entity.

Parameters:

documentation (Optional[str]) – Documentation of a model entity.

Return type:

None

_documentation: Optional[str]

The associated documentation of a model entity.

class pyVHDLModel.Interface.GenericConstantInterfaceItem(identifiers, mode, subtype, defaultExpression=None, documentation=None, parent=None)[source]

Inheritance

Inheritance diagram of GenericConstantInterfaceItem

Parameters:
__init__(identifiers, mode, subtype, defaultExpression=None, documentation=None, parent=None)[source]

Initializes a VHDL model entity.

Parameters:
Return type:

None

_documentation: Nullable[str]

The associated documentation of a model entity.

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

property Identifiers: Tuple[str]

Returns a model entity’s tuple of identifiers (names).

Returns:

Tuple of identifiers.

property NormalizedIdentifiers: Tuple[str]

Returns a model entity’s tuple of normalized identifiers (lower case names).

Returns:

Tuple of normalized identifiers.

property ObjectVertex: Vertex | None

Read-only property to access the corresponding object vertex (_objectVertex).

The object vertex references this Object by its value field.

Returns:

The corresponding object vertex.

property Parent: ModelEntity

Read-only property to access the model entity’s parent element reference in a logical hierarchy (_parent).

Returns:

Reference to the parent entity.

_identifiers: Tuple[str]

A list of identifiers.

_normalizedIdentifiers: Tuple[str]

A list of normalized (lower case) identifiers.

_parent: ModelEntity

Reference to a parent entity in the logical model hierarchy.

class pyVHDLModel.Interface.GenericTypeInterfaceItem(identifier, documentation=None, parent=None)[source]

Inheritance

Inheritance diagram of GenericTypeInterfaceItem

Parameters:
__init__(identifier, documentation=None, parent=None)[source]

Initializes underlying BaseType.

Parameters:
  • identifier (str) – Name of the type.

  • parent (ModelEntity) – Reference to the logical parent in the model hierarchy.

  • documentation (str | None)

Return type:

None

_documentation: Nullable[str]

The associated documentation of a model entity.

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

property Identifier: str

Returns a model entity’s identifier (name).

Returns:

Name of a model entity.

property NormalizedIdentifier: str

Returns a model entity’s normalized identifier (lower case name).

Returns:

Normalized name of a model entity.

property Parent: ModelEntity

Read-only property to access the model entity’s parent element reference in a logical hierarchy (_parent).

Returns:

Reference to the parent entity.

_identifier: str

The identifier of a model entity.

_normalizedIdentifier: str

The normalized (lower case) identifier of a model entity.

_parent: ModelEntity

Reference to a parent entity in the logical model hierarchy.

class pyVHDLModel.Interface.GenericSubprogramInterfaceItem(documentation=None)[source]

Inheritance

Inheritance diagram of GenericSubprogramInterfaceItem

Parameters:

documentation (str | None)

_documentation: Optional[str]

The associated documentation of a model entity.

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

__init__(documentation=None)

Initializes a documented entity.

Parameters:

documentation (Optional[str]) – Documentation of a model entity.

Return type:

None

class pyVHDLModel.Interface.GenericProcedureInterfaceItem(identifier, documentation=None, parent=None)[source]

Inheritance

Inheritance diagram of GenericProcedureInterfaceItem

Parameters:
__init__(identifier, documentation=None, parent=None)[source]

Initializes a VHDL model entity.

Parameters:
  • parent (ModelEntity) – The parent model entity of this entity.

  • identifier (str)

  • documentation (str | None)

Return type:

None

_documentation: Nullable[str]

The associated documentation of a model entity.

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

property Identifier: str

Returns a model entity’s identifier (name).

Returns:

Name of a model entity.

property NormalizedIdentifier: str

Returns a model entity’s normalized identifier (lower case name).

Returns:

Normalized name of a model entity.

property Parent: ModelEntity

Read-only property to access the model entity’s parent element reference in a logical hierarchy (_parent).

Returns:

Reference to the parent entity.

_identifier: str

The identifier of a model entity.

_normalizedIdentifier: str

The normalized (lower case) identifier of a model entity.

_parent: ModelEntity

Reference to a parent entity in the logical model hierarchy.

class pyVHDLModel.Interface.GenericFunctionInterfaceItem(identifier, documentation=None, parent=None)[source]

Inheritance

Inheritance diagram of GenericFunctionInterfaceItem

Parameters:
__init__(identifier, documentation=None, parent=None)[source]

Initializes a VHDL model entity.

Parameters:
  • parent (ModelEntity) – The parent model entity of this entity.

  • identifier (str)

  • documentation (str | None)

Return type:

None

_documentation: Nullable[str]

The associated documentation of a model entity.

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

property Identifier: str

Returns a model entity’s identifier (name).

Returns:

Name of a model entity.

property NormalizedIdentifier: str

Returns a model entity’s normalized identifier (lower case name).

Returns:

Normalized name of a model entity.

property Parent: ModelEntity

Read-only property to access the model entity’s parent element reference in a logical hierarchy (_parent).

Returns:

Reference to the parent entity.

_identifier: str

The identifier of a model entity.

_normalizedIdentifier: str

The normalized (lower case) identifier of a model entity.

_parent: ModelEntity

Reference to a parent entity in the logical model hierarchy.

class pyVHDLModel.Interface.GenericPackageInterfaceItem(identifier, documentation=None, parent=None)[source]

Inheritance

Inheritance diagram of GenericPackageInterfaceItem

Parameters:
__init__(identifier, documentation=None, parent=None)[source]

Initializes a documented entity.

Parameters:
Return type:

None

_documentation: Optional[str]

The associated documentation of a model entity.

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

class pyVHDLModel.Interface.PortSignalInterfaceItem(identifiers, mode, subtype, defaultExpression=None, documentation=None, parent=None)[source]

Inheritance

Inheritance diagram of PortSignalInterfaceItem

Parameters:
__init__(identifiers, mode, subtype, defaultExpression=None, documentation=None, parent=None)[source]

Initializes a VHDL model entity.

Parameters:
Return type:

None

_documentation: Nullable[str]

The associated documentation of a model entity.

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

property Identifiers: Tuple[str]

Returns a model entity’s tuple of identifiers (names).

Returns:

Tuple of identifiers.

property NormalizedIdentifiers: Tuple[str]

Returns a model entity’s tuple of normalized identifiers (lower case names).

Returns:

Tuple of normalized identifiers.

property ObjectVertex: Vertex | None

Read-only property to access the corresponding object vertex (_objectVertex).

The object vertex references this Object by its value field.

Returns:

The corresponding object vertex.

property Parent: ModelEntity

Read-only property to access the model entity’s parent element reference in a logical hierarchy (_parent).

Returns:

Reference to the parent entity.

_identifiers: Tuple[str]

A list of identifiers.

_normalizedIdentifiers: Tuple[str]

A list of normalized (lower case) identifiers.

_parent: ModelEntity

Reference to a parent entity in the logical model hierarchy.

class pyVHDLModel.Interface.ParameterConstantInterfaceItem(identifiers, mode, subtype, defaultExpression=None, documentation=None, parent=None)[source]

Inheritance

Inheritance diagram of ParameterConstantInterfaceItem

Parameters:
__init__(identifiers, mode, subtype, defaultExpression=None, documentation=None, parent=None)[source]

Initializes a VHDL model entity.

Parameters:
Return type:

None

_documentation: Nullable[str]

The associated documentation of a model entity.

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

property Identifiers: Tuple[str]

Returns a model entity’s tuple of identifiers (names).

Returns:

Tuple of identifiers.

property NormalizedIdentifiers: Tuple[str]

Returns a model entity’s tuple of normalized identifiers (lower case names).

Returns:

Tuple of normalized identifiers.

property ObjectVertex: Vertex | None

Read-only property to access the corresponding object vertex (_objectVertex).

The object vertex references this Object by its value field.

Returns:

The corresponding object vertex.

property Parent: ModelEntity

Read-only property to access the model entity’s parent element reference in a logical hierarchy (_parent).

Returns:

Reference to the parent entity.

_identifiers: Tuple[str]

A list of identifiers.

_normalizedIdentifiers: Tuple[str]

A list of normalized (lower case) identifiers.

_parent: ModelEntity

Reference to a parent entity in the logical model hierarchy.

class pyVHDLModel.Interface.ParameterVariableInterfaceItem(identifiers, mode, subtype, defaultExpression=None, documentation=None, parent=None)[source]

Inheritance

Inheritance diagram of ParameterVariableInterfaceItem

Parameters:
__init__(identifiers, mode, subtype, defaultExpression=None, documentation=None, parent=None)[source]

Initializes a VHDL model entity.

Parameters:
Return type:

None

_documentation: Nullable[str]

The associated documentation of a model entity.

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

property Identifiers: Tuple[str]

Returns a model entity’s tuple of identifiers (names).

Returns:

Tuple of identifiers.

property NormalizedIdentifiers: Tuple[str]

Returns a model entity’s tuple of normalized identifiers (lower case names).

Returns:

Tuple of normalized identifiers.

property ObjectVertex: Vertex | None

Read-only property to access the corresponding object vertex (_objectVertex).

The object vertex references this Object by its value field.

Returns:

The corresponding object vertex.

property Parent: ModelEntity

Read-only property to access the model entity’s parent element reference in a logical hierarchy (_parent).

Returns:

Reference to the parent entity.

_identifiers: Tuple[str]

A list of identifiers.

_normalizedIdentifiers: Tuple[str]

A list of normalized (lower case) identifiers.

_parent: ModelEntity

Reference to a parent entity in the logical model hierarchy.

class pyVHDLModel.Interface.ParameterSignalInterfaceItem(identifiers, mode, subtype, defaultExpression=None, documentation=None, parent=None)[source]

Inheritance

Inheritance diagram of ParameterSignalInterfaceItem

Parameters:
__init__(identifiers, mode, subtype, defaultExpression=None, documentation=None, parent=None)[source]

Initializes a VHDL model entity.

Parameters:
Return type:

None

_documentation: Nullable[str]

The associated documentation of a model entity.

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

property Identifiers: Tuple[str]

Returns a model entity’s tuple of identifiers (names).

Returns:

Tuple of identifiers.

property NormalizedIdentifiers: Tuple[str]

Returns a model entity’s tuple of normalized identifiers (lower case names).

Returns:

Tuple of normalized identifiers.

property ObjectVertex: Vertex | None

Read-only property to access the corresponding object vertex (_objectVertex).

The object vertex references this Object by its value field.

Returns:

The corresponding object vertex.

property Parent: ModelEntity

Read-only property to access the model entity’s parent element reference in a logical hierarchy (_parent).

Returns:

Reference to the parent entity.

_identifiers: Tuple[str]

A list of identifiers.

_normalizedIdentifiers: Tuple[str]

A list of normalized (lower case) identifiers.

_parent: ModelEntity

Reference to a parent entity in the logical model hierarchy.

class pyVHDLModel.Interface.ParameterFileInterfaceItem(identifiers, subtype, documentation=None, parent=None)[source]

Inheritance

Inheritance diagram of ParameterFileInterfaceItem

Parameters:
_documentation: Nullable[str]

The associated documentation of a model entity.

property Documentation: str | None

Returns a model entity’s associated documentation.

Returns:

Associated documentation of a model entity.

property Identifiers: Tuple[str]

Returns a model entity’s tuple of identifiers (names).

Returns:

Tuple of identifiers.

property NormalizedIdentifiers: Tuple[str]

Returns a model entity’s tuple of normalized identifiers (lower case names).

Returns:

Tuple of normalized identifiers.

property ObjectVertex: Vertex | None

Read-only property to access the corresponding object vertex (_objectVertex).

The object vertex references this Object by its value field.

Returns:

The corresponding object vertex.

property Parent: ModelEntity

Read-only property to access the model entity’s parent element reference in a logical hierarchy (_parent).

Returns:

Reference to the parent entity.

__init__(identifiers, subtype, documentation=None, parent=None)[source]

Initializes a VHDL model entity.

Parameters:
Return type:

None

_identifiers: Tuple[str]

A list of identifiers.

_normalizedIdentifiers: Tuple[str]

A list of normalized (lower case) identifiers.

_parent: ModelEntity

Reference to a parent entity in the logical model hierarchy.