From f6a2d5847a910a678f54d921f11d57fdb9c5cee9 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 23 Nov 2015 18:39:28 +0100 Subject: [PATCH] soc/tools/remote/client: make csr_csv parameter optional and default value to None --- litex/soc/tools/remote/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litex/soc/tools/remote/client.py b/litex/soc/tools/remote/client.py index 92510c1ce..99e229c2f 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