axi_dmac: fix transfer length reporting cyclic mode
Let the measured transfer length to be cleared at the end of each transfer, other case in cyclic mode the counter will overflow and will not present any useful information.main
parent
42a7e87cb3
commit
01a2bab978
|
@ -277,7 +277,7 @@ always @(posedge clk)
|
|||
begin
|
||||
if (response_valid == 1'b1 && response_ready == 1'b1) begin
|
||||
up_tlf_s_valid <= up_bl_partial;
|
||||
up_clear_tl <= up_eot;
|
||||
up_clear_tl <= response_eot;
|
||||
end else if (up_tlf_s_ready == 1'b1) begin
|
||||
up_tlf_s_valid <= 1'b0;
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue