pyVHDLModel.Type
This module contains parts of an abstract document language model for VHDL.
Types.
Classes
BaseType
:BaseType
is the base-class of all type entities in this model.Type
:BaseType
is the base-class of all type entities in this model.AnonymousType
:BaseType
is the base-class of all type entities in this model.FullType
: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.ScalarType
: AScalarType
is a base-class for all scalar types.RangedScalarType
: ARangedScalarType
is a base-class for all scalar types with a range.NumericTypeMixin
: ANumericType
is a mixin class for all numeric types.DiscreteTypeMixin
: ADiscreteType
is a mixin class for all discrete types.EnumeratedType
: AScalarType
is a base-class for all scalar types.IntegerType
: ARangedScalarType
is a base-class for all scalar types with a range.RealType
: ARangedScalarType
is a base-class for all scalar types with a range.PhysicalType
: ARangedScalarType
is a base-class for all scalar types with a range.CompositeType
: ACompositeType
is a base-class for all composite types.ArrayType
: ACompositeType
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 multipleRecordType
: ACompositeType
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.
Classes
- class pyVHDLModel.Type.BaseType(identifier, documentation=None)[source]
BaseType
is the base-class of all type entities in this model.Inheritance
- _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.
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _parent: ModelEntity
Reference to a parent entity in the model.
- class pyVHDLModel.Type.Type(identifier, documentation=None)[source]
Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- __init__(identifier, documentation=None)
Initializes underlying
BaseType
.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.AnonymousType(identifier, documentation=None)[source]
Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- __init__(identifier, documentation=None)
Initializes underlying
BaseType
.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.FullType(identifier, documentation=None)[source]
Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- __init__(identifier, documentation=None)
Initializes underlying
BaseType
.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.Subtype(identifier, symbol)[source]
Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.ScalarType(identifier, documentation=None)[source]
A
ScalarType
is a base-class for all scalar types.Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- __init__(identifier, documentation=None)
Initializes underlying
BaseType
.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.RangedScalarType(identifier, rng)[source]
A
RangedScalarType
is a base-class for all scalar types with a range.Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.NumericTypeMixin[source]
A
NumericType
is a mixin class for all numeric types.Inheritance
- class pyVHDLModel.Type.DiscreteTypeMixin[source]
A
DiscreteType
is a mixin class for all discrete types.Inheritance
- class pyVHDLModel.Type.EnumeratedType(identifier, literals)[source]
Inheritance
- Parameters:
identifier (str)
literals (Iterable[EnumerationLiteral])
- __init__(identifier, literals)[source]
Initializes underlying
BaseType
.- Parameters:
identifier (
str
) – Name of the type.literals (Iterable[EnumerationLiteral])
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.IntegerType(identifier, rng)[source]
Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.RealType(identifier, rng)[source]
Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.PhysicalType(identifier, rng, primaryUnit, units)[source]
Inheritance
- Parameters:
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.CompositeType(identifier, documentation=None)[source]
A
CompositeType
is a base-class for all composite types.Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- __init__(identifier, documentation=None)
Initializes underlying
BaseType
.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.ArrayType(identifier, indices, elementSubtype)[source]
Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.RecordTypeElement(identifiers, subtype)[source]
Inheritance
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
-
_parent:
ModelEntity
Reference to a parent entity in the model.
- class pyVHDLModel.Type.RecordType(identifier, elements=None)[source]
Inheritance
- Parameters:
identifier (str)
elements (Iterable[RecordTypeElement])
- __init__(identifier, elements=None)[source]
Initializes underlying
BaseType
.- Parameters:
identifier (
str
) – Name of the type.elements (Iterable[RecordTypeElement])
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.ProtectedType(identifier, methods=None)[source]
Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.ProtectedTypeBody(identifier, declaredItems=None)[source]
Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.AccessType(identifier, designatedSubtype)[source]
Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.
- class pyVHDLModel.Type.FileType(identifier, designatedSubtype)[source]
Inheritance
- property Documentation: str | None
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- class property HasClassAttributes: bool
Check if class has Attributes.
- Returns:
True
, if the class has Attributes.
- class property HasMethodAttributes: bool
Check if class has any method with Attributes.
- Returns:
True
, if the class has any method with Attributes.
- 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.
- _documentation: Nullable[str]
The associated documentation of a model 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 model.