URL
https://opencores.org/ocsvn/udp_ip_stack/udp_ip_stack/trunk
Show entire file |
Details |
Blame |
View Log
Rev 26 |
Rev 27 |
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 292... |
Line 291... |
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;
|
© copyright 1999-2023
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.