Skip to content

Commit

Permalink
axi_dw_downsizer: Modify testbench to replicate error
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Jun 7, 2024
1 parent 9402c8a commit 8dfeecb
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions test/tb_axi_dw_downsizer.sv
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ module tb_axi_dw_downsizer #(
.UW (TbAxiUserWidth ),
.TA (TbApplTime ),
.TT (TbTestTime ),
.MAX_READ_TXNS (8 ),
.MAX_WRITE_TXNS (8 ),
.AXI_BURST_FIXED(1'b0 ),
.AXI_ATOPS (1'b1 )
.MAX_READ_TXNS (8 ),
.MAX_WRITE_TXNS (128 ),
.AXI_BURST_FIXED(1'b0 ),
.AXI_ATOPS (1'b1 ),
.AX_MAX_WAIT_CYCLES(5)
) master_drv = new (master_dv);

// Slave port
Expand All @@ -104,7 +105,9 @@ module tb_axi_dw_downsizer #(
.IW(TbAxiIdWidth ),
.UW(TbAxiUserWidth ),
.TA(TbApplTime ),
.TT(TbTestTime )
.TT(TbTestTime ),
.RESP_MIN_WAIT_CYCLES(100),
.RESP_MAX_WAIT_CYCLES(1000)
) slave_drv = new (slave_dv);

`AXI_ASSIGN(slave_dv, slave)
Expand Down Expand Up @@ -145,7 +148,8 @@ module tb_axi_dw_downsizer #(
fork
// Act as a sink
slave_drv.run() ;
master_drv.run(200, 200);
master_drv.run(1, 4096);
// master_drv.run(200, 200);
join_any

// Done
Expand Down

0 comments on commit 8dfeecb

Please sign in to comment.