Skip to content

Commit

Permalink
V7: Set TReady mode to no backpressure
Browse files Browse the repository at this point in the history
Fix unset axi4stream vip ready gen mode.

Signed-off-by: Jorge Marques <[email protected]>
  • Loading branch information
gastmaier committed Aug 26, 2024
1 parent cbbef83 commit 746acf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dma_flock/tests/test_program.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion dma_flock/tests/test_program_frame_delay.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 746acf0

Please sign in to comment.