soc/tools/remote/client: make csr_csv parameter optional and default value to None
This commit is contained in:
parent
6f4dd14ffa
commit
f6a2d5847a
|
@ -8,6 +8,7 @@ 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):
|
||||
if csr_csv is not None:
|
||||
CSRBuilder.__init__(self, self, csr_csv, csr_data_width)
|
||||
self.host = host
|
||||
self.port = port
|
||||
|
|
Loading…
Reference in New Issue