data_offload: Fix data_offload getting stuck on oscillating m_saxis_ready
Signed-off-by: David Winter <david.winter@analog.com>main
parent
0af50d3f72
commit
04f2d19d4b
|
@ -365,7 +365,7 @@ module data_offload_fsm #(
|
||||||
if (rd_fsm_state != RD_READ_FROM_MEM) begin
|
if (rd_fsm_state != RD_READ_FROM_MEM) begin
|
||||||
rd_addr <= 'b0;
|
rd_addr <= 'b0;
|
||||||
end else begin
|
end else begin
|
||||||
if (rd_ready && rd_valid) begin
|
if (rd_valid) begin
|
||||||
if (rd_oneshot)
|
if (rd_oneshot)
|
||||||
rd_addr <= (rd_last_addr == rd_addr) ? rd_addr : rd_addr + 1'b1;
|
rd_addr <= (rd_last_addr == rd_addr) ? rd_addr : rd_addr + 1'b1;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue