Skip to content

Commit

Permalink
axi_xbar: Add suggestions from PR xbar_pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfgang Rönninger authored and thommythomaso committed Oct 6, 2022
1 parent da5d955 commit 522c2ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/axi_xbar.sv
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ import cf_math_pkg::idx_width;
`endif
);

typedef logic [Cfg.AxiAddrWidth-1:0] addr_t;
// Address tpye for inidvidual address signals
typedef logic [Cfg.AxiAddrWidth-1:0] addr_t;
// to account for the decoding error slave
`ifdef VCS
localparam int unsigned MstPortsIdxWidthOne =
Expand Down
6 changes: 3 additions & 3 deletions test/tb_axi_xbar.sv
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ module tb_axi_xbar #(
parameter int unsigned TbNumWrites = 32'd200,
/// Number of read transactions per master.
parameter int unsigned TbNumReads = 32'd200,
/// AXI4+ATOP ID wisth of the masters connected to the slave ports of the DUT.
/// The ID width of the salves is calulated depending on the xbar configuration.
/// AXI4+ATOP ID width of the masters connected to the slave ports of the DUT.
/// The ID width of the slaves is calculated depending on the xbar configuration.
parameter int unsigned TbAxiIdWidthMasters = 32'd5,
/// The used ID width of the DUT.
/// Has to be `TbAxiIdWidthMasters >= TbAxiIdUsed`.
parameter int unsigned TbAxiIdUsed = 32'd3,
/// Data width of the AXI channels.
parameter int unsigned TbAxiDataWidth = 32'd64,
/// Pipeline stages in the xbar itself. (Between Demux and mux)
/// Pipeline stages in the xbar itself (between demux and mux).
parameter int unsigned TbPipeline = 32'd1,
/// Enable ATOP generation
parameter bit TbEnAtop = 1'b1,
Expand Down

0 comments on commit 522c2ad

Please sign in to comment.