Skip to content

Commit

Permalink
test: AtopSupport as dedicated parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Sep 27, 2023
1 parent 4bf4fef commit 53f2a41
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions test/tb_floo_axi_chimney.sv
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ module tb_floo_axi_chimney;
localparam NumReads1 = 1000;
localparam NumWrites1 = 1000;

localparam bit AtopSupport = 1'b1;

localparam NumTargets = 2;

localparam int unsigned ReorderBufferSize = 64;
Expand Down Expand Up @@ -79,7 +81,7 @@ module tb_floo_axi_chimney;
.slv_rsp_t ( axi_out_rsp_t ),
.ApplTime ( ApplTime ),
.TestTime ( TestTime ),
.Atops ( 1'b1 ),
.Atops ( AtopSupport ),
.AxiMaxBurstLen ( ReorderBufferSize ),
.NumAddrRegions ( NumAddrRegions ),
.rule_t ( node_addr_region_t ),
Expand Down Expand Up @@ -116,7 +118,7 @@ module tb_floo_axi_chimney;
);

floo_axi_chimney #(
.AtopSupport ( 1'b1 ),
.AtopSupport ( AtopSupport ),
.MaxAtomicTxns ( 4 ),
.RouteAlgo ( floo_pkg::IdTable ),
.MaxTxns ( MaxTxns ),
Expand All @@ -140,7 +142,7 @@ module tb_floo_axi_chimney;
);

floo_axi_chimney #(
.AtopSupport ( 1'b1 ),
.AtopSupport ( AtopSupport ),
.MaxAtomicTxns ( 4 ),
.RouteAlgo ( floo_pkg::IdTable ),
.MaxTxns ( MaxTxns ),
Expand Down Expand Up @@ -189,12 +191,12 @@ module tb_floo_axi_chimney;
.AxiIdOutWidth ( AxiInIdWidth ),
.AxiUserWidth ( AxiInUserWidth ),
.mst_req_t ( axi_in_req_t ),
.mst_rsp_t ( axi_in_rsp_t ),
.mst_rsp_t ( axi_in_rsp_t ),
.slv_req_t ( axi_out_req_t ),
.slv_rsp_t ( axi_out_rsp_t ),
.slv_rsp_t ( axi_out_rsp_t ),
.ApplTime ( ApplTime ),
.TestTime ( TestTime ),
.Atops ( 1'b1 ),
.Atops ( AtopSupport ),
.AxiMaxBurstLen ( ReorderBufferSize ),
.NumAddrRegions ( NumAddrRegions ),
.rule_t ( node_addr_region_t ),
Expand Down

0 comments on commit 53f2a41

Please sign in to comment.