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
|
@ -317,7 +317,7 @@ class EtherboneRecord(Packet):
|
||||||
# Etherbone Packet ---------------------------------------------------------------------------------
|
# Etherbone Packet ---------------------------------------------------------------------------------
|
||||||
|
|
||||||
class EtherbonePacket(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]
|
assert addr_width in [8, 16, 32, 64]
|
||||||
|
|
||||||
Packet.__init__(self, init)
|
Packet.__init__(self, init)
|
||||||
|
|
Loading…
Reference in New Issue