Commit 639129fb authored by Maciej Lipinski's avatar Maciej Lipinski Committed by Grzegorz Daniluk

[wr_streamers] bugfix: 0xCAFE as last word caused streamers to hang

Fixed by adding missing "else statement" in CRC_WORD state. In this
statement the dvalid is set LOW and no ('X') data is set. Without
this, the input data remainded 0xCAFE and the input dvalid remainded
HIGH, thus the escape_inserter was forcing dreq=LOW in order to
stop the input data for one cycle and insert special character.
parent b60287ce
...@@ -519,6 +519,9 @@ begin -- rtl ...@@ -519,6 +519,9 @@ begin -- rtl
else else
state <= SUBFRAME_HEADER; state <= SUBFRAME_HEADER;
end if; end if;
else
fsm_out.data <= (others => 'X');
fsm_out.dvalid <= '0';
end if; end if;
when PADDING => when PADDING =>
......
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