pyGHDL.dom.Object
¶
Classes
Constant
:ModelEntity
is the base-class for all classes in the VHDL language model, except for mixin classes (see multipleDeferredConstant
:ModelEntity
is the base-class for all classes in the VHDL language model, except for mixin classes (see multipleVariable
:ModelEntity
is the base-class for all classes in the VHDL language model, except for mixin classes (see multipleSharedVariable
:ModelEntity
is the base-class for all classes in the VHDL language model, except for mixin classes (see multipleSignal
:ModelEntity
is the base-class for all classes in the VHDL language model, except for mixin classes (see multipleFile
:ModelEntity
is the base-class for all classes in the VHDL language model, except for mixin classes (see multiple
Classes
- class pyGHDL.dom.Object.Constant(node, identifiers, subtype, defaultExpression, documentation=None)[source]¶
Inheritance
- Parameters:
node (Iir) –
defaultExpression (Union[BaseExpression, QualifiedExpression, FunctionCall, TypeConversion, Constant, ConstantSymbol, Variable, VariableSymbol, Signal, SignalSymbol, Literal]) –
documentation (str) –
- __init__(node, identifiers, subtype, defaultExpression, documentation=None)[source]¶
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
defaultExpression (Union[BaseExpression, QualifiedExpression, FunctionCall, TypeConversion, Constant, ConstantSymbol, Variable, VariableSymbol, Signal, SignalSymbol, Literal]) –
documentation (str) –
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Return type:
- Returns:
Parent entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyGHDL.dom.Object.DeferredConstant(node, identifiers, subtype, documentation=None)[source]¶
Inheritance
- Parameters:
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Return type:
- Returns:
Parent entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyGHDL.dom.Object.Variable(node, identifiers, subtype, defaultExpression, documentation=None)[source]¶
Inheritance
- Parameters:
node (Iir) –
defaultExpression (Union[BaseExpression, QualifiedExpression, FunctionCall, TypeConversion, Constant, ConstantSymbol, Variable, VariableSymbol, Signal, SignalSymbol, Literal]) –
documentation (str) –
- __init__(node, identifiers, subtype, defaultExpression, documentation=None)[source]¶
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
defaultExpression (Union[BaseExpression, QualifiedExpression, FunctionCall, TypeConversion, Constant, ConstantSymbol, Variable, VariableSymbol, Signal, SignalSymbol, Literal]) –
documentation (str) –
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Return type:
- Returns:
Parent entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
Inheritance
- Parameters:
Initializes a VHDL model entity.
Returns a model entity’s associated documentation.
Returns a model entity’s tuple of identifiers (names).
Returns a reference to the parent entity.
- Return type:
- Returns:
Parent entity.
Reference to a parent entity in the model.
A list of identifiers.
The associated documentation of a model entity.
- class pyGHDL.dom.Object.Signal(node, identifiers, subtype, defaultExpression, documentation=None)[source]¶
Inheritance
- Parameters:
node (Iir) –
defaultExpression (Union[BaseExpression, QualifiedExpression, FunctionCall, TypeConversion, Constant, ConstantSymbol, Variable, VariableSymbol, Signal, SignalSymbol, Literal]) –
documentation (str) –
- __init__(node, identifiers, subtype, defaultExpression, documentation=None)[source]¶
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
defaultExpression (Union[BaseExpression, QualifiedExpression, FunctionCall, TypeConversion, Constant, ConstantSymbol, Variable, VariableSymbol, Signal, SignalSymbol, Literal]) –
documentation (str) –
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Return type:
- Returns:
Parent entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyGHDL.dom.Object.File(node, identifiers, subtype, documentation=None)[source]¶
Inheritance
- Parameters:
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Return type:
- Returns:
Parent entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.