tools/litex_client: Fix read regression.
This commit is contained in:
parent
7a4fa58cbf
commit
3d3ca05359
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue