tools/litex_client: Fix read regression.

This commit is contained in:
Florent Kermarrec 2023-06-14 16:59:47 +02:00
parent 7a4fa58cbf
commit 3d3ca05359
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ def run_gui(host, csr_csv, port):
# CSR Update. # CSR Update.
for name, reg in bus.regs.__dict__.items(): for name, reg in bus.regs.__dict__.items():
value = reg.read() value = reg.read()
dpg.set_value(item=name, value=f"0x{value():x}") dpg.set_value(item=name, value=f"0x{value:x}")
# XADC Update. # XADC Update.
if with_xadc: if with_xadc: