From: Your Name Date: Fri, 24 Nov 2017 09:32:28 +0000 (+0100) Subject: gk: fixed reversed dhcp ip address X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=f1a3b9c87582f3cac540f9ae1ad577da53ab991b;p=trbnet.git gk: fixed reversed dhcp ip address --- diff --git a/gbe_trb/protocols/trb_net16_gbe_response_constructor_DHCP.vhd b/gbe_trb/protocols/trb_net16_gbe_response_constructor_DHCP.vhd index 10fac64..a62c40b 100644 --- a/gbe_trb/protocols/trb_net16_gbe_response_constructor_DHCP.vhd +++ b/gbe_trb/protocols/trb_net16_gbe_response_constructor_DHCP.vhd @@ -169,10 +169,12 @@ process(CLK) begin if rising_edge(CLK) then if (main_current_state = ESTABLISHED) then - my_ip(31 downto 24) <= saved_true_ip(7 downto 0); - my_ip(23 downto 16) <= saved_true_ip(15 downto 8); - my_ip(15 downto 8) <= saved_true_ip(23 downto 16); - my_ip(7 downto 0) <= saved_true_ip(31 downto 24); +-- my_ip(31 downto 24) <= saved_true_ip(7 downto 0); +-- my_ip(23 downto 16) <= saved_true_ip(15 downto 8); +-- my_ip(15 downto 8) <= saved_true_ip(23 downto 16); +-- my_ip(7 downto 0) <= saved_true_ip(31 downto 24); + + my_ip <= saved_true_ip; elsif (CFG_IP_IN /= x"0000_0000") then my_ip(31 downto 24) <= CFG_IP_IN(7 downto 0); my_ip(23 downto 16) <= CFG_IP_IN(15 downto 8);