🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

VPI support

User: "Téo Biton"
New Altair Community Member
Updated by Jocelyn

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.

Find more posts tagged with