mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc/tools/remote/client: make csr_csv parameter optional and default value to None
This commit is contained in:
parent
6f4dd14ffa
commit
f6a2d5847a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue