Commit 4944aa44 authored by Maciej Lipinski's avatar Maciej Lipinski

[EP/tx_head_proc] bugfix: we had a problem with handling the error from PCS - if…

[EP/tx_head_proc] bugfix: we had a problem with handling the error from PCS - if it occured when already the next frame was being set (addr), the PCS got confused
parent dafd057e
......@@ -327,6 +327,13 @@ begin -- behavioral
if(pcs_error_i = '1') then
state <= TXF_IDLE;
wb_out.rty <= '1';
----------------------------------------------------------------------------------
src_fab_o.error <= '1'; -- nasty-bug-fix: it might happen that PCS throws error
-- to a previous frame, but we already start sending
-- the next one, in this case the frame is stopped being
-- sent but PCS does not know why... in the end we see
-- two SOFs in PACs
----------------------------------------------------------------------------------
elsif(abort_now = '1') then
-- abort the current frame
state <= TXF_ABORT;
......
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