mirror of
https://github.com/enjoy-digital/liteeth.git
synced 2025-01-03 03:43:37 -05:00
core/arp: Fix mem_wr_port alias direction.
This commit is contained in:
parent
9d13f612c1
commit
09d31b5af8
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue