pyVHDLModel.Association
This module contains parts of an abstract document language model for VHDL.
Associations are used in generic maps, port maps and parameter maps.
Classes
AssociationItem
: A base-class for all association items.GenericAssociationItem
: A base-class for all generic association items used in generic map aspects.PortAssociationItem
: A base-class for all port association items used in port map aspects.ParameterAssociationItem
: A base-class for all parameter association items used in parameter map aspects.
Classes
- class pyVHDLModel.Association.AssociationItem(actual, formal=None)[source]
A base-class for all association items.
Inheritance
- Parameters:
actual (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal)
formal (Symbol)
- __init__(actual, formal=None)[source]
Initializes a VHDL model entity.
- Parameters:
actual (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal)
formal (Symbol)
- 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 Parent: ModelEntity
Returns a reference to the parent entity.
- Returns:
Parent entity.
-
_parent:
ModelEntity
Reference to a parent entity in the model.
- class pyVHDLModel.Association.GenericAssociationItem(actual, formal=None)[source]
A base-class for all generic association items used in generic map aspects.
Inheritance
- Parameters:
actual (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal)
formal (Symbol)
- 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 Parent: ModelEntity
Returns a reference to the parent entity.
- Returns:
Parent entity.
- __init__(actual, formal=None)
Initializes a VHDL model entity.
- Parameters:
actual (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal)
formal (Symbol)
- __str__()
Return str(self).
-
_parent:
ModelEntity
Reference to a parent entity in the model.
- class pyVHDLModel.Association.PortAssociationItem(actual, formal=None)[source]
A base-class for all port association items used in port map aspects.
Inheritance
- Parameters:
actual (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal)
formal (Symbol)
- 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 Parent: ModelEntity
Returns a reference to the parent entity.
- Returns:
Parent entity.
- __init__(actual, formal=None)
Initializes a VHDL model entity.
- Parameters:
actual (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal)
formal (Symbol)
- __str__()
Return str(self).
-
_parent:
ModelEntity
Reference to a parent entity in the model.
- class pyVHDLModel.Association.ParameterAssociationItem(actual, formal=None)[source]
A base-class for all parameter association items used in parameter map aspects.
Inheritance
- Parameters:
actual (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal)
formal (Symbol)
- 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 Parent: ModelEntity
Returns a reference to the parent entity.
- Returns:
Parent entity.
- __init__(actual, formal=None)
Initializes a VHDL model entity.
- Parameters:
actual (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal)
formal (Symbol)
- __str__()
Return str(self).
-
_parent:
ModelEntity
Reference to a parent entity in the model.