diff --git a/mibuild/sim/server.py b/mibuild/sim/server.py index 99627a90c..d21cdc219 100644 --- a/mibuild/sim/server.py +++ b/mibuild/sim/server.py @@ -18,7 +18,7 @@ class PacketTooLarge(Exception): pass class VerilatorServer: - def __init__(self, sockaddr="simsocket"): + def __init__(self, sockaddr="/tmp/simsocket"): self.sockaddr = sockaddr self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET) self._cleanup_file() diff --git a/mibuild/sim/server_tb.cpp b/mibuild/sim/server_tb.cpp index f92cc1678..9e7139d7e 100644 --- a/mibuild/sim/server_tb.cpp +++ b/mibuild/sim/server_tb.cpp @@ -178,7 +178,7 @@ int main(int argc, char **argv, char **env) struct sim s; sim_init(&s); - sim_connect(&s, "../../migen/mibuild/sim/simsocket"); // XXX use args + sim_connect(&s, "/tmp/simsocket"); pthread_t sim_receive_thread;