frontend/stream: Apply convert_ip to ip_address.
This commit is contained in:
parent
27a0b99e54
commit
9b88c0f299
|
@ -15,6 +15,8 @@ class LiteEthStream2UDPTX(Module):
|
||||||
|
|
||||||
# # #
|
# # #
|
||||||
|
|
||||||
|
ip_address = convert_ip(ip_address)
|
||||||
|
|
||||||
if fifo_depth is None:
|
if fifo_depth is None:
|
||||||
assert send_level == 1
|
assert send_level == 1
|
||||||
self.comb += [
|
self.comb += [
|
||||||
|
@ -65,6 +67,8 @@ class LiteEthUDP2StreamRX(Module):
|
||||||
|
|
||||||
# # #
|
# # #
|
||||||
|
|
||||||
|
ip_address = convert_ip(ip_address)
|
||||||
|
|
||||||
valid = Signal()
|
valid = Signal()
|
||||||
self.comb += valid.eq(
|
self.comb += valid.eq(
|
||||||
(sink.ip_address == ip_address) &
|
(sink.ip_address == ip_address) &
|
||||||
|
|
Loading…
Reference in New Issue