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

Subversion Repositories udp_ip_stack

[/] [udp_ip_stack/] [trunk/] [rtl/] [vhdl/] [UDP_TX.vhd] - Diff between revs 16 and 17

Show entire file | Details | Blame | View Log

Rev 16 Rev 17
Line 209... Line 209...
                                                        set_tx_result <= '1';
                                                        set_tx_result <= '1';
                                        end case;
                                        end case;
                                end if;
                                end if;
 
 
                        when SEND_USER_DATA =>
                        when SEND_USER_DATA =>
                                udp_tx_data_out_ready <= '1';           -- in this state, we are always ready to accept user data for tx
                                udp_tx_data_out_ready <= ip_tx_data_out_ready;  -- in this state, we can accept user data if IP TX rdy
                                if ip_tx_data_out_ready = '1' then
                                if ip_tx_data_out_ready = '1' then
                                        if udp_txi.data.data_out_valid = '1' or tx_count = x"000" then
                                        if udp_txi.data.data_out_valid = '1' or tx_count = x"000" then
                                                -- only increment if ready and valid has been subsequently established, otherwise data count moves on too fast
                                                -- only increment if ready and valid has been subsequently established, otherwise data count moves on too fast
                                                if unsigned(tx_count) = unsigned(udp_txi.hdr.data_length) then
                                                if unsigned(tx_count) = unsigned(udp_txi.hdr.data_length) then
                                                        -- TX terminated due to count - end normally
                                                        -- TX terminated due to count - end normally

powered by: WebSVN 2.1.0

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