Skip to content

Commit

Permalink
remote/etherbone/EtherbonePacket: Set default addr_width of 32 (To av…
Browse files Browse the repository at this point in the history
…oid breaking old code using EtherbonePacket()).
  • Loading branch information
enjoy-digital committed Nov 10, 2023
1 parent 5672a9d commit 52adf24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litex/tools/remote/etherbone.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def __repr__(self, n=0):
# Etherbone Packet ---------------------------------------------------------------------------------

class EtherbonePacket(Packet):
def __init__(self, addr_width, init=[]):
def __init__(self, addr_width=32, init=[]):
assert addr_width in [8, 16, 32, 64]

Packet.__init__(self, init)
Expand Down

0 comments on commit 52adf24

Please sign in to comment.