Xilinx / systemctlm-cosim-demo

QEMU libsystemctlm-soc co-simulation demos.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/862421112/Co-simulation
Other
131 stars 47 forks source link

Questa MTI simulator hangs at socket function read/write/select #33

Open cuonghle opened 1 year ago

cuonghle commented 1 year ago

Hi,

The demo is really useful. I am using your socket libraries to run with simulation using Questa MTI (latest version - 2023). I noticed that when there is no traffic from the Host/QEMU to simulation, the simulator blocks (hangs) at socket functions such as read/write/select, and it can not advance to the next simulation time slot and it stucks forever. I have tried blocking and non-blocking socket, but I got the same issue. I don't see this issue happens in VCS simulator.

Has anyone seen the same issue for Questa sim?