data_offload: Fix data_offload getting stuck on oscillating m_saxis_ready

Signed-off-by: David Winter <david.winter@analog.com>
main
David Winter 2021-04-29 17:33:16 +02:00 committed by Mihaita Nagy
parent 0af50d3f72
commit 04f2d19d4b
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ module data_offload_fsm #(
if (rd_fsm_state != RD_READ_FROM_MEM) begin
rd_addr <= 'b0;
end else begin
if (rd_ready && rd_valid) begin
if (rd_valid) begin
if (rd_oneshot)
rd_addr <= (rd_last_addr == rd_addr) ? rd_addr : rd_addr + 1'b1;
else