soc/tools: remove csr builder from comm_udp (we should use litex_server)

This commit is contained in:
Florent Kermarrec 2017-06-22 10:32:39 +02:00
parent 4ea7026747
commit 684ae45dbe
1 changed files with 3 additions and 5 deletions

View File

@ -2,12 +2,10 @@ import socket
from litex.soc.tools.remote.etherbone import EtherbonePacket, EtherboneRecord from litex.soc.tools.remote.etherbone import EtherbonePacket, EtherboneRecord
from litex.soc.tools.remote.etherbone import EtherboneReads, EtherboneWrites 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): class CommUDP:
if csr_csv is not None: def __init__(self, server="192.168.1.50", port=1234, debug=False):
CSRBuilder.__init__(self, self, csr_csv, csr_data_width)
self.server = server self.server = server
self.port = port self.port = port
self.debug = debug self.debug = debug