Skip to content

Commit

Permalink
axi_to_detailed_mem: Fix type bug with workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
micprog committed Jul 4, 2023
1 parent 4129010 commit aeda437
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/axi_to_detailed_mem.sv
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ module axi_to_detailed_mem #(
mem_user_t user;
axi_pkg::cache_t cache;
axi_pkg::prot_t prot;

} tmp_atop_t;

tmp_atop_t mem_req_atop;
Expand All @@ -423,13 +422,13 @@ module axi_to_detailed_mem #(

// Split single memory request to desired number of banks.
mem_to_banks #(
.AddrWidth ( AddrWidth ),
.DataWidth ( DataWidth ),
.NumBanks ( NumBanks ),
.HideStrb ( HideStrb ),
.MaxTrans ( BufDepth ),
.FifoDepth ( OutFifoDepth ),
.atop_t ( tmp_atop_t )
.AddrWidth ( AddrWidth ),
.DataWidth ( DataWidth ),
.NumBanks ( NumBanks ),
.HideStrb ( HideStrb ),
.MaxTrans ( BufDepth ),
.FifoDepth ( OutFifoDepth ),
.AtopWidth ( $bits(tmp_atop_t) )
) i_mem_to_banks (
.clk_i,
.rst_ni,
Expand Down

0 comments on commit aeda437

Please sign in to comment.