From cb85a8caf1fd150d7a9563e71f553d931157abff Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 12 Dec 2022 11:26:37 +0100 Subject: [PATCH] tools/litex_cli: Fix --write. --- litex/tools/litex_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/tools/litex_client.py b/litex/tools/litex_client.py index e59b77154..b27a1b54a 100644 --- a/litex/tools/litex_client.py +++ b/litex/tools/litex_client.py @@ -403,7 +403,7 @@ def main(): try: addr = int(args.write[0], 0) except ValueError: - addr = reg2addr(csr_csv, args.write[0]) + addr = reg2addr(host, csr_csv, args.write[0]) write_memory( host = args.host, csr_csv = csr_csv,