pyGHDL.dom.Type#

Classes

  • IncompleteType: BaseType is the base-class of all type entities in this model.

  • EnumeratedType: A ScalarType is a base-class for all scalar types.

  • IntegerType: A RangedScalarType is a base-class for all scalar types with a range.

  • PhysicalType: A RangedScalarType is a base-class for all scalar types with a range.

  • ArrayType: A CompositeType is a base-class for all composite types.

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

  • RecordType: A CompositeType is a base-class for all composite types.

  • ProtectedType: BaseType is the base-class of all type entities in this model.

  • ProtectedTypeBody: BaseType is the base-class of all type entities in this model.

  • AccessType: BaseType is the base-class of all type entities in this model.

  • FileType: BaseType is the base-class of all type entities in this model.

  • Subtype: BaseType is the base-class of all type entities in this model.


Classes

class pyGHDL.dom.Type.IncompleteType(node, identifier)[source]#

Inheritance

Inheritance diagram of IncompleteType

Parameters:
  • node (Iir) –

  • identifier (str) –

__init__(node, identifier)[source]#

Initializes underlying BaseType.

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

  • node (Iir) –

_parent: ModelEntity#

Reference to a parent entity in the model.

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#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifier: str#

The identifier of a model entity.

_normalizedIdentifier: str#

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

_documentation: Nullable[str]#

The associated documentation of a model entity.

class pyGHDL.dom.Type.EnumeratedType(node, identifier, literals)[source]#

Inheritance

Inheritance diagram of EnumeratedType

Parameters:
__init__(node, identifier, literals)[source]#

Initializes underlying BaseType.

Parameters:
_parent: ModelEntity#

Reference to a parent entity in the model.

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#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifier: str#

The identifier of a model entity.

_normalizedIdentifier: str#

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

_documentation: Nullable[str]#

The associated documentation of a model entity.

class pyGHDL.dom.Type.IntegerType(node, typeName, rng)[source]#

Inheritance

Inheritance diagram of IntegerType

Parameters:
__init__(node, typeName, rng)[source]#

Initializes underlying BaseType.

Parameters:
  • identifier – Name of the type.

  • node (Iir) –

  • typeName (str) –

  • rng (Range | Name) –

_parent: ModelEntity#

Reference to a parent entity in the model.

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#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifier: str#

The identifier of a model entity.

_normalizedIdentifier: str#

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

_documentation: Nullable[str]#

The associated documentation of a model entity.

class pyGHDL.dom.Type.PhysicalType(node, typeName, rng, primaryUnit, units)[source]#

Inheritance

Inheritance diagram of PhysicalType

Parameters:
__init__(node, typeName, rng, primaryUnit, units)[source]#

Initializes underlying BaseType.

Parameters:
_parent: ModelEntity#

Reference to a parent entity in the model.

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#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifier: str#

The identifier of a model entity.

_normalizedIdentifier: str#

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

_documentation: Nullable[str]#

The associated documentation of a model entity.

class pyGHDL.dom.Type.ArrayType(node, identifier, indices, elementSubtype)[source]#

Inheritance

Inheritance diagram of ArrayType

Parameters:
  • node (Iir) –

  • identifier (str) –

  • indices (List) –

  • elementSubtype (Symbol) –

__init__(node, identifier, indices, elementSubtype)[source]#

Initializes underlying BaseType.

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

  • node (Iir) –

  • indices (List) –

  • elementSubtype (Symbol) –

_parent: ModelEntity#

Reference to a parent entity in the model.

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#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifier: str#

The identifier of a model entity.

_normalizedIdentifier: str#

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

_documentation: Nullable[str]#

The associated documentation of a model entity.

class pyGHDL.dom.Type.RecordTypeElement(node, identifiers, subtype)[source]#

Inheritance

Inheritance diagram of RecordTypeElement

Parameters:
  • node (Iir) –

  • identifiers (List[str]) –

  • subtype (Symbol) –

__init__(node, identifiers, subtype)[source]#

Initializes a VHDL model entity.

Parameters:
  • node (Iir) –

  • identifiers (List[str]) –

  • subtype (Symbol) –

_parent: ModelEntity#

Reference to a parent entity in the model.

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 Parent: ModelEntity#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifiers: Tuple[str]#

A list of identifiers.

_normalizedIdentifiers: Tuple[str]#

A list of normalized (lower case) identifiers.

class pyGHDL.dom.Type.RecordType(node, identifier, elements=None)[source]#

Inheritance

Inheritance diagram of RecordType

Parameters:
__init__(node, identifier, elements=None)[source]#

Initializes underlying BaseType.

Parameters:
_parent: ModelEntity#

Reference to a parent entity in the model.

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#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifier: str#

The identifier of a model entity.

_normalizedIdentifier: str#

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

_documentation: Nullable[str]#

The associated documentation of a model entity.

class pyGHDL.dom.Type.ProtectedType(node, identifier, methods=None)[source]#

Inheritance

Inheritance diagram of ProtectedType

Parameters:
__init__(node, identifier, methods=None)[source]#

Initializes underlying BaseType.

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

  • node (Iir) –

  • methods (List | Iterator | None) –

_parent: ModelEntity#

Reference to a parent entity in the model.

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#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifier: str#

The identifier of a model entity.

_normalizedIdentifier: str#

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

_documentation: Nullable[str]#

The associated documentation of a model entity.

class pyGHDL.dom.Type.ProtectedTypeBody(node, identifier, declaredItems=None)[source]#

Inheritance

Inheritance diagram of ProtectedTypeBody

Parameters:
__init__(node, identifier, declaredItems=None)[source]#

Initializes underlying BaseType.

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

  • node (Iir) –

  • declaredItems (List | Iterator | None) –

_parent: ModelEntity#

Reference to a parent entity in the model.

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#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifier: str#

The identifier of a model entity.

_normalizedIdentifier: str#

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

_documentation: Nullable[str]#

The associated documentation of a model entity.

class pyGHDL.dom.Type.AccessType(node, identifier, designatedSubtype)[source]#

Inheritance

Inheritance diagram of AccessType

Parameters:
  • node (Iir) –

  • identifier (str) –

  • designatedSubtype (Symbol) –

__init__(node, identifier, designatedSubtype)[source]#

Initializes underlying BaseType.

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

  • node (Iir) –

  • designatedSubtype (Symbol) –

_parent: ModelEntity#

Reference to a parent entity in the model.

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#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifier: str#

The identifier of a model entity.

_normalizedIdentifier: str#

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

_documentation: Nullable[str]#

The associated documentation of a model entity.

class pyGHDL.dom.Type.FileType(node, identifier, designatedSubtype)[source]#

Inheritance

Inheritance diagram of FileType

Parameters:
  • node (Iir) –

  • identifier (str) –

  • designatedSubtype (Symbol) –

__init__(node, identifier, designatedSubtype)[source]#

Initializes underlying BaseType.

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

  • node (Iir) –

  • designatedSubtype (Symbol) –

_parent: ModelEntity#

Reference to a parent entity in the model.

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#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifier: str#

The identifier of a model entity.

_normalizedIdentifier: str#

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

_documentation: Nullable[str]#

The associated documentation of a model entity.

class pyGHDL.dom.Type.Subtype(node, subtypeName)[source]#

Inheritance

Inheritance diagram of Subtype

Parameters:
  • node (Iir) –

  • subtypeName (str) –

__init__(node, subtypeName)[source]#

Initializes underlying BaseType.

Parameters:
  • identifier – Name of the type.

  • node (Iir) –

  • subtypeName (str) –

_parent: ModelEntity#

Reference to a parent entity in the model.

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#

Returns a reference to the parent entity.

Returns:

Parent entity.

_identifier: str#

The identifier of a model entity.

_normalizedIdentifier: str#

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

_documentation: Nullable[str]#

The associated documentation of a model entity.