pyGHDL.dom.Symbol

Classes

  • EntitySymbol: An entity reference in an architecture declaration.

  • ArchitectureSymbol: ModelEntity is the base-class for all classes in the VHDL language model, except for mixin classes (see multiple

  • PackageSymbol: ModelEntity is the base-class for all classes in the VHDL language model, except for mixin classes (see multiple

  • SimpleSubtypeSymbol: ModelEntity is the base-class for all classes in the VHDL language model, except for mixin classes (see multiple

  • ConstrainedScalarSubtypeSymbol: ModelEntity is the base-class for all classes in the VHDL language model, except for mixin classes (see multiple

  • ConstrainedCompositeSubtypeSymbol: ModelEntity is the base-class for all classes in the VHDL language model, except for mixin classes (see multiple

  • SimpleObjectOrFunctionCallSymbol: ModelEntity is the base-class for all classes in the VHDL language model, except for mixin classes (see multiple

  • IndexedObjectOrFunctionCallSymbol: ModelEntity is the base-class for all classes in the VHDL language model, except for mixin classes (see multiple


Classes

class pyGHDL.dom.Symbol.EntitySymbol(node, entityName)[source]

Inheritance

Inheritance diagram of EntitySymbol

Parameters:
__init__(node, entityName)[source]

Initializes a VHDL model entity.

Parameters:
property Parent: ModelEntity

Returns a reference to the parent entity.

Return type:

ModelEntity

Returns:

Parent entity.

__str__()

Return str(self).

Return type:

str

_parent: ModelEntity

Reference to a parent entity in the model.

class pyGHDL.dom.Symbol.ArchitectureSymbol(node, architectureName)[source]

Inheritance

Inheritance diagram of ArchitectureSymbol

Parameters:
  • node (Iir) –

  • architectureName (SimpleName) –

__init__(node, architectureName)[source]

Initializes a VHDL model entity.

Parameters:
  • node (Iir) –

  • architectureName (SimpleName) –

property Parent: ModelEntity

Returns a reference to the parent entity.

Return type:

ModelEntity

Returns:

Parent entity.

__str__()

Return str(self).

Return type:

str

_parent: ModelEntity

Reference to a parent entity in the model.

class pyGHDL.dom.Symbol.PackageSymbol(node, packageName)[source]

Inheritance

Inheritance diagram of PackageSymbol

Parameters:
__init__(node, packageName)[source]

Initializes a VHDL model entity.

Parameters:
property Parent: ModelEntity

Returns a reference to the parent entity.

Return type:

ModelEntity

Returns:

Parent entity.

__str__()

Return str(self).

Return type:

str

_parent: ModelEntity

Reference to a parent entity in the model.

class pyGHDL.dom.Symbol.SimpleSubtypeSymbol(node, subtypeName)[source]

Inheritance

Inheritance diagram of SimpleSubtypeSymbol

Parameters:
  • node (Iir) –

  • subtypeName (Name) –

__init__(node, subtypeName)[source]

Initializes a VHDL model entity.

Parameters:
  • node (Iir) –

  • subtypeName (Name) –

property Parent: ModelEntity

Returns a reference to the parent entity.

Return type:

ModelEntity

Returns:

Parent entity.

__str__()

Return str(self).

Return type:

str

_parent: ModelEntity

Reference to a parent entity in the model.

class pyGHDL.dom.Symbol.ConstrainedScalarSubtypeSymbol(node, subtypeName, rng=None)[source]

Inheritance

Inheritance diagram of ConstrainedScalarSubtypeSymbol

Parameters:
  • node (Iir) –

  • subtypeName (Name) –

  • rng (Range) –

__init__(node, subtypeName, rng=None)[source]

Initializes a VHDL model entity.

Parameters:
property Parent: ModelEntity

Returns a reference to the parent entity.

Return type:

ModelEntity

Returns:

Parent entity.

__str__()

Return str(self).

Return type:

str

_parent: ModelEntity

Reference to a parent entity in the model.

class pyGHDL.dom.Symbol.ConstrainedCompositeSubtypeSymbol(node, subtypeName, constraints=None)[source]

Inheritance

Inheritance diagram of ConstrainedCompositeSubtypeSymbol

Parameters:
  • node (Iir) –

  • subtypeName (Name) –

  • constraints (List[Union[RangeExpression, RangeAttribute, RangeSubtype]]) –

__init__(node, subtypeName, constraints=None)[source]

Initializes a VHDL model entity.

Parameters:
  • node (Iir) –

  • subtypeName (Name) –

  • constraints (List[Union[RangeExpression, RangeAttribute, RangeSubtype]]) –

property Parent: ModelEntity

Returns a reference to the parent entity.

Return type:

ModelEntity

Returns:

Parent entity.

__str__()

Return str(self).

Return type:

str

_parent: ModelEntity

Reference to a parent entity in the model.

class pyGHDL.dom.Symbol.SimpleObjectOrFunctionCallSymbol(objectName)[source]

Inheritance

Inheritance diagram of SimpleObjectOrFunctionCallSymbol

Parameters:

objectName (Name) –

property Parent: ModelEntity

Returns a reference to the parent entity.

Return type:

ModelEntity

Returns:

Parent entity.

__init__(objectName)[source]

Initializes a VHDL model entity.

Parameters:

objectName (Name) –

__str__()

Return str(self).

Return type:

str

_parent: ModelEntity

Reference to a parent entity in the model.

class pyGHDL.dom.Symbol.IndexedObjectOrFunctionCallSymbol(node, name)[source]

Inheritance

Inheritance diagram of IndexedObjectOrFunctionCallSymbol

Parameters:
  • node (Iir) –

  • name (Name) –

__init__(node, name)[source]

Initializes a VHDL model entity.

Parameters:
  • node (Iir) –

  • name (Name) –

property Parent: ModelEntity

Returns a reference to the parent entity.

Return type:

ModelEntity

Returns:

Parent entity.

__str__()

Return str(self).

Return type:

str

_parent: ModelEntity

Reference to a parent entity in the model.