soc/tools: remove csr builder from comm_udp (we should use litex_server)
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 22 Jun 2017 08:32:39 +0000 (10:32 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 22 Jun 2017 08:32:39 +0000 (10:32 +0200)
litex/soc/tools/remote/comm_udp.py

index 10179128f9656a60e0dc253f07ee3dcc136f6189..82530c45add6d336945496a004ba40ae5c9ece36 100644 (file)
@@ -2,12 +2,10 @@ import socket
 
 from litex.soc.tools.remote.etherbone import EtherbonePacket, EtherboneRecord
 from litex.soc.tools.remote.etherbone import EtherboneReads, EtherboneWrites
-from litex.soc.tools.remote.csr_builder import CSRBuilder
 
-class CommUDP(CSRBuilder):
-    def __init__(self, server="192.168.1.50", port=1234, csr_csv="csr.csv", csr_data_width=None, debug=False):
-        if csr_csv is not None:
-            CSRBuilder.__init__(self, self, csr_csv, csr_data_width)
+
+class CommUDP:
+    def __init__(self, server="192.168.1.50", port=1234, debug=False):
         self.server = server
         self.port = port
         self.debug = debug