Commit 1999b7f3 authored by egousiou's avatar egousiou

remoced passing from rst_rx state when a frame has been correctly consumed (was disturbing var_i)

git-svn-id: http://svn.ohwr.org/cern-fip/trunk/hdl/design@252 7f0067c9-7624-46c7-bd39-3fb5400c0213
parent b1b865e3
......@@ -395,8 +395,7 @@ begin
if (rx_fss_crc_fes_ok_p_i = '1') or -- the cons frame arrived to the end, as expected
(rx_crc_wrong_p_i = '1') then -- FES detected but wrong CRC or wrong # bits
nx_control_st <= RST_RX; -- resetting the rx is not essential in this case,
-- but for robustness reasons we decided to add it
nx_control_st <= IDLE;
elsif (s_rx_bytes_c > c_MAX_FRAME_BYTES) then -- no FES detected after the max number of bytes
nx_control_st <= RST_RX;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment