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 6 and 8

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 6 Rev 8
Line 249... Line 249...
                                        set_mac_lku_req <= CLR;
                                        set_mac_lku_req <= CLR;
                                end if;
                                end if;
 
 
                        when WAIT_MAC =>
                        when WAIT_MAC =>
                                ip_tx_data_out_ready <= '0';             -- in this state, we are unable to accept user data for tx
                                ip_tx_data_out_ready <= '0';             -- in this state, we are unable to accept user data for tx
 
                                set_mac_lku_req <= CLR;                         -- clear the request - will have been latched in the ARP layer
                                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;
                                        set_mac_lku_req <= CLR;
 
                                        -- check for optimise when already have the channel
                                        -- check for optimise when already have the channel
                                        if mac_tx_granted = '1' then
                                        if mac_tx_granted = '1' then
                                                -- ready to send data
                                                -- ready to send data
                                                next_tx_state <= SEND_ETH_HDR;
                                                next_tx_state <= SEND_ETH_HDR;
                                                set_tx_state <= '1';
                                                set_tx_state <= '1';

powered by: WebSVN 2.1.0

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