pyVHDLModel.Common

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

Common definitions and Mixins are used by many classes in the model as base-classes.

Classes


Classes

class pyVHDLModel.Common.Statement(label=None, parent=None)[source]

A Statement is a base-class for all statements.

Inheritance

Inheritance diagram of Statement

Parameters:

label (str | None)

__init__(label=None, parent=None)[source]

Initializes a VHDL model entity.

Parameters:
  • parent – The parent model entity of this entity.

  • label (str | None)

Return type:

None

_label: Optional[str]

The label of a model entity.

_normalizedLabel: Optional[str]

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

property Label: str | None

Returns a model entity’s label.

Returns:

Label of a model entity.

property NormalizedLabel: str | None

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

Returns:

Normalized label 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.

_parent: ModelEntity

Reference to a parent entity in the logical model hierarchy.

class pyVHDLModel.Common.ProcedureCallMixin(procedureName, parameterMappings=None)[source]

Inheritance

Inheritance diagram of ProcedureCallMixin

Parameters:
__init__(procedureName, parameterMappings=None)[source]
Parameters:
Return type:

None

class pyVHDLModel.Common.AssignmentMixin(target)[source]

A mixin-class for all assignment statements.

Inheritance

Inheritance diagram of AssignmentMixin

Parameters:

target (Symbol)

__init__(target)[source]
Parameters:

target (Symbol)

Return type:

None

class pyVHDLModel.Common.SignalAssignmentMixin(target)[source]

A mixin-class for all signal assignment statements.

Inheritance

Inheritance diagram of SignalAssignmentMixin

Parameters:

target (Symbol)

__init__(target)
Parameters:

target (Symbol)

Return type:

None

class pyVHDLModel.Common.VariableAssignmentMixin(target, expression)[source]

A mixin-class for all variable assignment statements.

Inheritance

Inheritance diagram of VariableAssignmentMixin

Parameters:
__init__(target, expression)[source]
Parameters:
Return type:

None