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

Subversion Repositories udp_ip_stack

[/] [udp_ip_stack/] [tags/] [v2.3/] [rtl/] [vhdl/] [arp_RX.vhd] - Diff between revs 25 and 26

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

Rev 25 Rev 26
Line 206... Line 206...
          when DATA =>
          when DATA =>
            rx_count_mode <= INCR;
            rx_count_mode <= INCR;
                                        -- handle early frame termination
                                        -- handle early frame termination
            if data_in_last = '1' then
            if data_in_last = '1' then
              next_rx_state <= IDLE;
              next_rx_state <= IDLE;
 
              rx_count_mode <= RST;
              set_rx_state  <= '1';
              set_rx_state  <= '1';
            --else
            --else
            end if;
            end if;
                                        -- check for end of frame. Also, detect and discard if not our frame
                                        -- check for end of frame. Also, detect and discard if not our frame
              if rx_count = 41 then     -- TB 2013-01-14 15:09:45 was 42
              if rx_count = 41 then     -- TB 2013-01-14 15:09:45 was 42
Line 291... Line 292...
        case rx_event is
        case rx_event is
          when NO_EVENT =>              -- (nothing to do)
          when NO_EVENT =>              -- (nothing to do)
          when DATA =>
          when DATA =>
            if data_in_last = '1' then
            if data_in_last = '1' then
              next_rx_state <= IDLE;
              next_rx_state <= IDLE;
 
              rx_count_mode <= RST;
              set_rx_state  <= '1';
              set_rx_state  <= '1';
            end if;
            end if;
        end case;
        end case;
 
 
    end case;
    end case;

powered by: WebSVN 2.1.0

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