tools/litex_cli: Fix --write.
This commit is contained in:
parent
30d68ce152
commit
cb85a8caf1
|
@ -403,7 +403,7 @@ def main():
|
||||||
try:
|
try:
|
||||||
addr = int(args.write[0], 0)
|
addr = int(args.write[0], 0)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
addr = reg2addr(csr_csv, args.write[0])
|
addr = reg2addr(host, csr_csv, args.write[0])
|
||||||
write_memory(
|
write_memory(
|
||||||
host = args.host,
|
host = args.host,
|
||||||
csr_csv = csr_csv,
|
csr_csv = csr_csv,
|
||||||
|
|
Loading…
Reference in New Issue