projects
/
litex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
soc/tools/remote/server: add --debug parameter
[litex.git]
/
litex
/
soc
/
tools
/
remote
/
comm_uart.py
diff --git
a/litex/soc/tools/remote/comm_uart.py
b/litex/soc/tools/remote/comm_uart.py
index 0f20dd16028dc4f75151e0623a3ca4578dba0c5e..0f7987d12377ce9f773916c9cb3cd754eca9d4ec 100644
(file)
--- a/
litex/soc/tools/remote/comm_uart.py
+++ b/
litex/soc/tools/remote/comm_uart.py
@@
-45,7
+45,7
@@
class CommUART:
for i in range(length_int):
value = int.from_bytes(self._read(4), "big")
if self.debug:
for i in range(length_int):
value = int.from_bytes(self._read(4), "big")
if self.debug:
- print("read {:08x} @ {:08x}".format(
data
, addr + 4*i))
+ print("read {:08x} @ {:08x}".format(
value
, addr + 4*i))
if length is None:
return value
data.append(value)
if length is None:
return value
data.append(value)