pyGHDL.libghdl.vhdl.nodes_utils¶
Functions
Strip_Denoting_Name(): IfNameis a simple or an expanded name, return the denoted declaration.Get_Entity(): This is a wrapper aroundGet_Entity_Nameto return the entity declarationIs_Second_Subprogram_Specification(): Check ifSpecis the subprogram specification of a subprogram bodyGet_Entity_From_Entity_Aspect(): Extract the entity fromAspect.Get_Interface_Of_Formal(): Get the interface corresponding to the formal nameFormal. This is
Functions
- pyGHDL.libghdl.vhdl.nodes_utils.Strip_Denoting_Name(Name)[source]¶
If
Nameis a simple or an expanded name, return the denoted declaration. Otherwise, returnName.
- pyGHDL.libghdl.vhdl.nodes_utils.Get_Entity(Decl)[source]¶
This is a wrapper around
Get_Entity_Nameto return the entity declaration of the entity name ofDecl, orNull_Iirin case of error.
- pyGHDL.libghdl.vhdl.nodes_utils.Is_Second_Subprogram_Specification(Spec)[source]¶
Check if
Specis the subprogram specification of a subprogram body which was previously declared. In that case, the only use ofSpecis to match the body with its declaration.
- pyGHDL.libghdl.vhdl.nodes_utils.Get_Entity_From_Entity_Aspect(Aspect)[source]¶
Extract the entity from
Aspect.If
Aspectis a component declaration, returnAspect. If it’s open, returnNull_Iir