From 09d31b5af8d259974d89f9db986deec57ef89c3f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 13 Oct 2023 14:31:03 +0200 Subject: [PATCH] core/arp: Fix mem_wr_port alias direction. --- liteeth/core/arp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/liteeth/core/arp.py b/liteeth/core/arp.py index 31fbcfe..e1fd892 100644 --- a/liteeth/core/arp.py +++ b/liteeth/core/arp.py @@ -191,9 +191,9 @@ class LiteEthARPCache(LiteXModule): mem_wr_port_ip_address = Signal(32) mem_wr_port_mac_address = Signal(48) self.comb += [ - mem_wr_port_valid.eq(mem_wr_port.dat_w[80]), - mem_wr_port_ip_address.eq(mem_wr_port.dat_w[0:32]), - mem_wr_port_mac_address.eq(mem_wr_port.dat_w[32:80]), + mem_wr_port.dat_w[80].eq(mem_wr_port_valid), + mem_wr_port.dat_w[0:32].eq(mem_wr_port_ip_address), + mem_wr_port.dat_w[32:80].eq(mem_wr_port_mac_address), ] # Memory rd_port aliases.