From 38e9a77ca681da0c41a58a4df51635a769a5c891 Mon Sep 17 00:00:00 2001 From: Larry Ruckman Date: Tue, 10 Sep 2024 08:57:27 -0700 Subject: [PATCH] mapping the TTL_G in UdpEngineWrapper --- ethernet/IpV4Engine/rtl/IpV4Engine.vhd | 2 +- ethernet/UdpEngine/rtl/UdpEngineWrapper.vhd | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ethernet/IpV4Engine/rtl/IpV4Engine.vhd b/ethernet/IpV4Engine/rtl/IpV4Engine.vhd index 81146736dc..3fcf5d4a4a 100644 --- a/ethernet/IpV4Engine/rtl/IpV4Engine.vhd +++ b/ethernet/IpV4Engine/rtl/IpV4Engine.vhd @@ -27,7 +27,7 @@ entity IpV4Engine is PROTOCOL_G : Slv8Array := (0 => UDP_C); -- Default to UDP protocol CLIENT_SIZE_G : positive := 1; -- Sets the number of attached client engines CLK_FREQ_G : real := 156.25E+06; -- In units of Hz - TTL_G : slv(7 downto 0) := x"20"; + TTL_G : slv(7 downto 0) := x"20"; -- IPv4's Time-To-Live (TTL) IGMP_G : boolean := false; IGMP_GRP_SIZE : positive := 1); port ( diff --git a/ethernet/UdpEngine/rtl/UdpEngineWrapper.vhd b/ethernet/UdpEngine/rtl/UdpEngineWrapper.vhd index 7763736090..873d7d7b69 100644 --- a/ethernet/UdpEngine/rtl/UdpEngineWrapper.vhd +++ b/ethernet/UdpEngine/rtl/UdpEngineWrapper.vhd @@ -132,6 +132,7 @@ begin PROTOCOL_G => (0 => UDP_C), CLIENT_SIZE_G => CLIENT_SIZE_G, CLK_FREQ_G => CLK_FREQ_G, + TTL_G => TTL_G, IGMP_G => IGMP_G, IGMP_GRP_SIZE => IGMP_GRP_SIZE) port map (