pyGHDL.libghdl.vhdl.utils#

Functions


Functions

pyGHDL.libghdl.vhdl.utils.Get_Source_Identifier(Decl)[source]#

Like Get_Identifier but return a NameId for the same casing as it appears in the source file. Not useful for analysis as VHDL is case insensitive, but could be useful for error messages or tooling.

Parameters:

Decl (TypeVar(Iir, bound= c_int)) – Iir Node. Type: Iir

Return type:

TypeVar(NameId, bound= c_int)

pyGHDL.libghdl.vhdl.utils.Get_Source_Identifier_Str(n)[source]#
Return type:

str

Parameters:

n (Iir) –