Skip to content

Commit

Permalink
tools/litex_server.py: jtag/udp mode: add missing addr_width parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Dec 9, 2023
1 parent c1871ea commit 08ff003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litex/tools/litex_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def main():
jtag_uart = JTAGUART(config=args.jtag_config, chain=int(args.jtag_chain))
jtag_uart.open()
print("[CommUART] port: JTAG / ", end="")
comm = CommUART(os.ttyname(jtag_uart.name), debug=args.debug)
comm = CommUART(os.ttyname(jtag_uart.name), debug=args.debug, addr_width=int(args.addr_width))

# UDP mode
elif args.udp:
Expand All @@ -250,7 +250,7 @@ def main():
exit()
else:
print("[CommUDP] ip: {} / port: {} / ".format(udp_ip, udp_port), end="")
comm = CommUDP(udp_ip, udp_port, debug=args.debug)
comm = CommUDP(udp_ip, udp_port, debug=args.debug, addr_width=int(args.addr_width))

# PCIe mode
elif args.pcie:
Expand Down

0 comments on commit 08ff003

Please sign in to comment.