From fb1d959728efeeef3a505374328fb94c90c1eb9a Mon Sep 17 00:00:00 2001 From: Eric Kooistra <kooistra@astron.nl> Date: Wed, 23 Nov 2022 09:09:11 +0100 Subject: [PATCH] Add c_eth_rx_udp_port. --- libraries/io/eth/src/vhdl/eth_pkg.vhd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/io/eth/src/vhdl/eth_pkg.vhd b/libraries/io/eth/src/vhdl/eth_pkg.vhd index eb4f556c1b..632bbb7af9 100644 --- a/libraries/io/eth/src/vhdl/eth_pkg.vhd +++ b/libraries/io/eth/src/vhdl/eth_pkg.vhd @@ -86,6 +86,9 @@ PACKAGE eth_pkg IS CONSTANT c_eth_channel_w : NATURAL := ceil_log2(c_eth_nof_udp_ports + 1); -- + 1 for all other packets that go to the default port CONSTANT c_eth_nof_channels : NATURAL := 2**c_eth_channel_w; + -- Default Rx UDP port for UDP onload + CONSTANT c_eth_rx_udp_port : STD_LOGIC_VECTOR(15 DOWNTO 0) := TO_UVEC(6001, 16); -- 0x1771 = 6001 + ------------------------------------------------------------------------------ -- MM register map ------------------------------------------------------------------------------ -- GitLab