chipsalliance / UHDM

Universal Hardware Data Model. A complete modeling of the IEEE SystemVerilog Object Model with VPI Interface, Elaborator, Serialization, Visitor and Listener. Used as a compiled interchange format in between SystemVerilog tools. Compiles on Linux gcc, Windows msys2-gcc & msvc, OsX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose ExprEval::size to Python

alaindargelas opened this issue · comments

I received a request for exposing ExprEval::size (typespec*) to Python.
Since the python API is vpiHandle based, it would have to be something like:
int uhdm.size(vpiHandle h)

Since vpiSize is not filled for most objects, the need for the size function arises.

Thomasb81 could you pick this up?

Unfortunately not possible any time soon to support this.

If we go in this direction of exporting to python such helper method, I think we should have plan to support other helper method. (At least not a single one)