pyGHDL.libghdl.vhdl.sem

Python binding for the Ada package Vhdl.Sem in libghdl.

Semantic analysis: resolves names, computes types and decorates the AST with the results.

Functions

  • Semantic(): Do the semantic analysis of design unit DesignUnit.


Functions

pyGHDL.libghdl.vhdl.sem.Semantic(DesignUnit)[source]

Do the semantic analysis of design unit DesignUnit.

Also add a few nodes or change some nodes, when for example an identifier is changed into an access to the type.

Parameters:

DesignUnit (TypeVar(Iir_Design_Unit, bound= c_int)) – Design unit to semantically analyze

Return type:

None