mirror of
https://github.com/enjoy-digital/liteeth.git
synced 2025-01-03 03:43:37 -05:00
frontend/etherbone: fix cd="sys case
This commit is contained in:
parent
1127e3a615
commit
042d3aee3e
1 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ class LiteEthEtherbonePacketRX(Module):
|
|||
|
||||
|
||||
class LiteEthEtherbonePacket(Module):
|
||||
def __init__(self, udp, udp_port, cd=None):
|
||||
def __init__(self, udp, udp_port, cd="sys"):
|
||||
self.submodules.tx = tx = LiteEthEtherbonePacketTX(udp_port)
|
||||
self.submodules.rx = rx = LiteEthEtherbonePacketRX()
|
||||
udp_port = udp.crossbar.get_port(udp_port, dw=32, cd=cd)
|
||||
|
@ -497,7 +497,7 @@ class LiteEthEtherboneWishboneSlave(Module):
|
|||
# etherbone
|
||||
|
||||
class LiteEthEtherbone(Module):
|
||||
def __init__(self, udp, udp_port, mode="master", cd=None):
|
||||
def __init__(self, udp, udp_port, mode="master", cd="sys"):
|
||||
# decode/encode etherbone packets
|
||||
self.submodules.packet = packet = LiteEthEtherbonePacket(udp, udp_port, cd)
|
||||
|
||||
|
|
Loading…
Reference in a new issue