mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
remote/etherbone/EtherbonePacket: Set default addr_width of 32 (To avoid breaking old code using EtherbonePacket()).
This commit is contained in:
parent
5672a9dd2a
commit
52adf240f9
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ class EtherboneRecord(Packet):
|
|||
# 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)
|
||||
|
|
Loading…
Reference in a new issue