Commit 88b62ffd authored by Cesar Prados's avatar Cesar Prados

wr_ep/tx_header_processor: fix tx_path slave wb interface

If a wb master writes on this slave and it asserts
cyc and stb at the some time, the wb slave in the
tx_path was loosing the first data transaction.
As a result, the frame header was shifted by 16.
The cleanest way to fix this was using the stall line.
parent 87ad0d56
......@@ -647,7 +647,7 @@ begin -- behavioral
---------------------------------------------------------------------------------------------
-- elsif(src_dreq_i = '1' and state /= TXF_GAP and state /= TXF_ABORT and state /= TXF_DELAYED_SOF and state /= TXF_STORE_TSTAMP) then
---------------------------------------------------------------------------------------------
elsif(src_dreq_i = '1' and state /= TXF_PAD and state /= TXF_GAP and state /= TXF_DELAYED_SOF and state /= TXF_STORE_TSTAMP) then
elsif(src_dreq_i = '1' and state /= TXF_IDLE and state /= TXF_PAD and state /= TXF_GAP and state /= TXF_DELAYED_SOF and state /= TXF_STORE_TSTAMP) then
wb_out.stall <= '0'; -- during data/header phase - whenever
-- the sink is ready to accept data
......
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