From 746acf039a3764eab365192d95e2857d69c9a319 Mon Sep 17 00:00:00 2001 From: Jorge Marques Date: Mon, 26 Aug 2024 18:36:17 +0200 Subject: [PATCH] V7: Set TReady mode to no backpressure Fix unset axi4stream vip ready gen mode. Signed-off-by: Jorge Marques --- dma_flock/tests/test_program.sv | 2 ++ dma_flock/tests/test_program_frame_delay.sv | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dma_flock/tests/test_program.sv b/dma_flock/tests/test_program.sv index 9ee068cd..2bf9554b 100644 --- a/dma_flock/tests/test_program.sv +++ b/dma_flock/tests/test_program.sv @@ -143,8 +143,10 @@ program test_program; axi_ready_gen wready_gen; // Set no backpressure from AXIS destination + env.dst_axis_seq.set_mode(XIL_AXI4STREAM_READY_GEN_NO_BACKPRESSURE); env.dst_axis_seq.user_gen_tready(); `ifdef HAS_XIL_VDMA + env.ref_dst_axis_seq.set_mode(XIL_AXI4STREAM_READY_GEN_NO_BACKPRESSURE); env.ref_dst_axis_seq.user_gen_tready(); `endif diff --git a/dma_flock/tests/test_program_frame_delay.sv b/dma_flock/tests/test_program_frame_delay.sv index c90a71e4..25b30fcb 100644 --- a/dma_flock/tests/test_program_frame_delay.sv +++ b/dma_flock/tests/test_program_frame_delay.sv @@ -174,9 +174,11 @@ program test_program_frame_delay; axi_ready_gen wready_gen; // Set no backpressure from AXIS destination + env.dst_axis_seq.set_mode(XIL_AXI4STREAM_READY_GEN_NO_BACKPRESSURE); env.dst_axis_seq.user_gen_tready(); `ifdef HAS_XIL_VDMA - env.ref_dst_axis_seq.agent.driver.send_tready(tready_gen); + env.ref_dst_axis_seq.set_mode(XIL_AXI4STREAM_READY_GEN_NO_BACKPRESSURE); + env.ref_dst_axis_seq.user_gen_tready(); `endif // Set no backpressure from DDR