From: Florent Kermarrec Date: Mon, 23 Nov 2015 17:39:28 +0000 (+0100) Subject: soc/tools/remote/client: make csr_csv parameter optional and default value to None X-Git-Tag: 24jan2021_ls180~2045 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6a2d5847a910a678f54d921f11d57fdb9c5cee9;p=litex.git soc/tools/remote/client: make csr_csv parameter optional and default value to None --- diff --git a/litex/soc/tools/remote/client.py b/litex/soc/tools/remote/client.py index 92510c1c..99e229c2 100644 --- a/litex/soc/tools/remote/client.py +++ b/litex/soc/tools/remote/client.py @@ -8,7 +8,8 @@ from litex.soc.tools.remote.csr_builder import CSRBuilder class RemoteClient(EtherboneIPC, CSRBuilder): def __init__(self, host="localhost", port=1234, csr_csv="csr.csv", csr_data_width=32, debug=False): - CSRBuilder.__init__(self, self, csr_csv, csr_data_width) + if csr_csv is not None: + CSRBuilder.__init__(self, self, csr_csv, csr_data_width) self.host = host self.port = port self.debug = debug