mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
mibuild/sim: use /tmp/simsocket sockaddr for server
This commit is contained in:
parent
f4b060f6fe
commit
2d6fbd7902
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ class PacketTooLarge(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class VerilatorServer:
|
class VerilatorServer:
|
||||||
def __init__(self, sockaddr="simsocket"):
|
def __init__(self, sockaddr="/tmp/simsocket"):
|
||||||
self.sockaddr = sockaddr
|
self.sockaddr = sockaddr
|
||||||
self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET)
|
self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET)
|
||||||
self._cleanup_file()
|
self._cleanup_file()
|
||||||
|
|
|
@ -178,7 +178,7 @@ int main(int argc, char **argv, char **env)
|
||||||
|
|
||||||
struct sim s;
|
struct sim s;
|
||||||
sim_init(&s);
|
sim_init(&s);
|
||||||
sim_connect(&s, "../../migen/mibuild/sim/simsocket"); // XXX use args
|
sim_connect(&s, "/tmp/simsocket");
|
||||||
|
|
||||||
pthread_t sim_receive_thread;
|
pthread_t sim_receive_thread;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue