Skip to content

Commit

Permalink
WIP:[MemPool-Spatz]
Browse files Browse the repository at this point in the history
1. Rebase to latest terapool_merge
2. bug fixes.
  • Loading branch information
msc23h24 Diyou Shen (dishen) committed Dec 14, 2023
1 parent a24971c commit 46ca235
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
1 change: 1 addition & 0 deletions hardware/deps/spatz
Submodule spatz added at 5e854f
18 changes: 0 additions & 18 deletions hardware/src/mempool_group.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1006,24 +1006,6 @@ module mempool_group

`REQRSP_TYPEDEF_ALL(reqrsp, addr_t, axi_data_t, axi_strb_t)

// xbar
localparam int unsigned NumRules = 1;
typedef struct packed {
int unsigned idx;
logic [AddrWidth-1:0] start_addr;
logic [AddrWidth-1:0] end_addr;
} xbar_rule_t;
xbar_rule_t [NumRules-1:0] addr_map;
assign addr_map = '{
'{ // TCDM
start_addr: TCDMBaseAddr,
end_addr: TCDMBaseAddr + TCDMSize,
idx: 1
}
};

`REQRSP_TYPEDEF_ALL(reqrsp, addr_t, axi_data_t, axi_strb_t)


for (genvar d = 0; unsigned'(d) < NumDmasPerGroup; d++) begin: gen_dmas
localparam int unsigned a = NumTilesPerGroup + d;
Expand Down

0 comments on commit 46ca235

Please sign in to comment.