core/dhcp: Add missing TX/RX reset on timeout.
This commit is contained in:
parent
d29d90cd78
commit
70a89eafaa
|
@ -560,6 +560,7 @@ class LiteEthDHCP(LiteXModule):
|
||||||
# DHCP TX.
|
# DHCP TX.
|
||||||
self.tx = tx = ResetInserter()(LiteEthDHCPTX(udp_port))
|
self.tx = tx = ResetInserter()(LiteEthDHCPTX(udp_port))
|
||||||
self.comb += [
|
self.comb += [
|
||||||
|
tx.reset.eq(self.timeout),
|
||||||
tx.mac_address.eq(self.mac_address),
|
tx.mac_address.eq(self.mac_address),
|
||||||
tx.transaction_id.eq(transaction_id),
|
tx.transaction_id.eq(transaction_id),
|
||||||
]
|
]
|
||||||
|
@ -567,6 +568,7 @@ class LiteEthDHCP(LiteXModule):
|
||||||
# DHCP RX.
|
# DHCP RX.
|
||||||
self.rx = rx = ResetInserter()(LiteEthDHCPRX(udp_port))
|
self.rx = rx = ResetInserter()(LiteEthDHCPRX(udp_port))
|
||||||
self.comb += [
|
self.comb += [
|
||||||
|
rx.reset.eq(self.timeout),
|
||||||
rx.mac_address.eq(self.mac_address),
|
rx.mac_address.eq(self.mac_address),
|
||||||
rx.transaction_id.eq(transaction_id),
|
rx.transaction_id.eq(transaction_id),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue