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

QEMU "Failed to connect to" #24

Open kakaducsy opened 2 years ago

kakaducsy commented 2 years ago

Hello all, I'm trying to run a demo step by step based on https://github.com/Xilinx/systemctlm-cosim-demo/blob/master/docs/zynq-7000-getting-started-guide.md The last step: Running the Demo open first shells ( wsl : ubuntu 18.04 ) and run with command : >> LD_LIBRARY_PATH=/mnt/d/0_Working/Projects/QEMU/cosim/systemc-2.3.2/lib-linux64/ /mnt/d/0_Working/Projects/QEMU/cosim/systemctlm-cosim-demo/zynq_demo unix:/mnt/d/0_Working/Projects/QEMU/cosim/buildroot/handles/qemu-rport-_cosim@0 1000000

        SystemC 2.3.2-Accellera --- Dec 28 2021 08:38:45
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED

Info: (I702) default timescale unit used for tracing: 1 ps (trace.vcd)
open socket
connect to /mnt/d/0_Working/Projects/QEMU/cosim/buildroot/handles/qemu-rport-_cosim@0
Failed to connect to /mnt/d/0_Working/Projects/QEMU/cosim/buildroot/handles/qemu-rport-_cosim@0, attempt to listen
unix:/mnt/d/0_Working/Projects/QEMU/cosim/buildroot/handles/qemu-rport-_cosim@0: Operation not supported

Fatal: Remote-port: Failed to create remote-port socket connection!

In file: libsystemctlm-soc/libremote-port/remote-port-tlm.cc:267
In process: top.zynq.process @ 1 us

Info: (I99) simulation aborted
Aborted

In the folder : cosim/buildroot/handles . It empty. How to fix the issue? Thank you