From cba58a0e361b113108be2678a31e75d24cf64262 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 23 Nov 2023 16:30:29 +0100 Subject: [PATCH] tools/litex_client: Fix csr_data_width/csr_bus_address_width is None cases. --- litex/tools/litex_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/tools/litex_client.py b/litex/tools/litex_client.py index 5a9c18b49..ad30d687b 100644 --- a/litex/tools/litex_client.py +++ b/litex/tools/litex_client.py @@ -32,9 +32,9 @@ class RemoteClient(EtherboneIPC, CSRBuilder): else: # Else if csr_data_width set to None, force to csr_data_width 32-bit. if csr_data_width is None: - csr_data_width = 32 + self.csr_data_width = 32 # Else if csr_bus_address_width set to None, force to csr_bus_address_width 32-bit. - if self.csr_bus_address_width is None: + if csr_bus_address_width is None: self.csr_bus_address_width = 32 self.host = host self.port = port