pyGHDL.dom.Subprogram
#
Classes
Function
:ModelEntity
is the base-class for all classes in the VHDL language model, except for mixin classes (see multipleProcedure
:ModelEntity
is the base-class for all classes in the VHDL language model, except for mixin classes (see multiple
Classes
- class pyGHDL.dom.Subprogram.Function(node, functionName, returnType, genericItems=None, parameterItems=None, documentation=None)[source]#
Inheritance
- Parameters:
node (Iir) –
functionName (str) –
returnType (Symbol) –
genericItems (List[GenericInterfaceItem]) –
parameterItems (List[ParameterInterfaceItem]) –
documentation (str) –
- __init__(node, functionName, returnType, genericItems=None, parameterItems=None, documentation=None)[source]#
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
functionName (str) –
returnType (Symbol) –
genericItems (List[GenericInterfaceItem] | None) –
parameterItems (List[ParameterInterfaceItem] | None) –
documentation (str | 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.Subprogram.Procedure(node, procedureName, genericItems=None, parameterItems=None, documentation=None)[source]#
Inheritance
- Parameters:
node (Iir) –
procedureName (str) –
genericItems (List[GenericInterfaceItem]) –
parameterItems (List[ParameterInterfaceItem]) –
documentation (str) –
- __init__(node, procedureName, genericItems=None, parameterItems=None, documentation=None)[source]#
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
procedureName (str) –
genericItems (List[GenericInterfaceItem] | None) –
parameterItems (List[ParameterInterfaceItem] | None) –
documentation (str | 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.