VPI support
Hi,
The documentation mentions that DSim wants to support the VPI. I have been playing around with the VPI and tried DSim with cocotb. There seems to be issues regarding logging and get_sim_time callbacks:
-.--ns TRACE gpi ../gpi/GpiCommon.cpp:616 in gpi_to_user Passing control to GPI user
-.--ns TRACE gpi ..mbed/gpi_embed.cpp:217 in _embed_sim_init Returning to Python
-.--ns WARNING gpi ..ib/vpi/VpiImpl.cpp:65 in get_sim_time VPI error
-.--ns ERROR gpi ..py_gpi_logging.cpp:25 in fallback_handler Error calling Python logging function from C++ while logging the above
-.--ns WARNING gpi (none):0 in DSim No error occurred.
-.--ns ERROR gpi ..py_gpi_logging.cpp:25 in fallback_handler Error calling Python logging function from C++ while logging the above
0.00ns WARNING gpi VPI error
-.--ns WARNING gpi ..ib/vpi/VpiImpl.cpp:65 in get_sim_time VPI error
The log comes from cocotb; as other simulators supporting VPI works with DSim, I guess my question would be is the VPI complete in the current version of DSim.