From 9b88c0f29926a88c06cfbbeb49b7af5c57615f91 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 22 Sep 2021 11:14:01 +0200 Subject: [PATCH] frontend/stream: Apply convert_ip to ip_address. --- liteeth/frontend/stream.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/liteeth/frontend/stream.py b/liteeth/frontend/stream.py index 2776f48..6bfdc21 100644 --- a/liteeth/frontend/stream.py +++ b/liteeth/frontend/stream.py @@ -15,6 +15,8 @@ class LiteEthStream2UDPTX(Module): # # # + ip_address = convert_ip(ip_address) + if fifo_depth is None: assert send_level == 1 self.comb += [ @@ -65,6 +67,8 @@ class LiteEthUDP2StreamRX(Module): # # # + ip_address = convert_ip(ip_address) + valid = Signal() self.comb += valid.eq( (sink.ip_address == ip_address) &