pyGHDL.libghdl.utils
#
Functions
name_image()
: Lookup aId
and return its string.fields_image()
: String representation of Nodes_Meta.fieldsidx
.kind_image()
: String representation of Nodes.Iir_Kindk
.types_image()
: String representation of Nodes_Meta.Typest
.attr_image()
: String representation of Nodes_Meta.Attra
.leftest_location()
: Undocumented.fields_iter()
: Iterate on fields of noden
.chain_iter()
: Iterate of a chain headed by noden
.chain_to_list()
: Convert a chain headed by noden
to a Python list.nodes_iter()
: Iterate all nodes ofn
, includingn
.list_iter()
: Iterate all element of Iir_Listlst
.flist_iter()
: Iterate all element of Iir_Listlst
.declarations_iter()
: Iterate all declarations in noden
.concurrent_stmts_iter()
: Iterate concurrent statements in noden
.constructs_iter()
: Iterate library units, concurrent statements and declarationssequential_iter()
: Iterate sequential statements. The first node must be either
Functions
- pyGHDL.libghdl.utils.name_image(Id)[source]#
Lookup a
Id
and return its string.- Return type:
- Parameters:
Id (NameId) –
- pyGHDL.libghdl.utils.nodes_iter(n)[source]#
Iterate all nodes of
n
, includingn
. Nodes are returned only once.