OpenCores
URL https://opencores.org/ocsvn/udp_ip_stack/udp_ip_stack/trunk

Subversion Repositories udp_ip_stack

[/] [udp_ip_stack/] [trunk/] [rtl/] [vhdl/] [IPv4_TX.vhd] - Diff between revs 29 and 37

Show entire file | Details | Blame | View Log

Rev 29 Rev 37
Line 256... Line 256...
        if arp_req_rslt.got_mac = '1' then
        if arp_req_rslt.got_mac = '1' then
                                        -- save the MAC we got back from the ARP lookup
                                        -- save the MAC we got back from the ARP lookup
          tx_mac_value <= arp_req_rslt.mac;
          tx_mac_value <= arp_req_rslt.mac;
          set_tx_mac   <= '1';
          set_tx_mac   <= '1';
          set_chn_reqd <= SET;
          set_chn_reqd <= SET;
                                        -- check for optimise when already have the channel
 
          if mac_tx_granted = '1' then
 
                                        -- ready to send data
 
            next_tx_state <= SEND_ETH_HDR;
 
            set_tx_state  <= '1';
 
          else
 
            next_tx_state <= WAIT_CHN;
            next_tx_state <= WAIT_CHN;
            set_tx_state  <= '1';
            set_tx_state  <= '1';
          end if;
 
        elsif arp_req_rslt.got_err = '1' then
        elsif arp_req_rslt.got_err = '1' then
          set_mac_lku_req <= CLR;
          set_mac_lku_req <= CLR;
          next_tx_result  <= IPTX_RESULT_ERR;
          next_tx_result  <= IPTX_RESULT_ERR;
          set_tx_result   <= '1';
          set_tx_result   <= '1';
          next_tx_state   <= IDLE;
          next_tx_state   <= IDLE;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.