From 46ca235598b35507bdb6d77dacb5891364bc299c Mon Sep 17 00:00:00 2001 From: "msc23h24 Diyou Shen (dishen)" Date: Tue, 12 Dec 2023 11:18:44 +0100 Subject: [PATCH] WIP:[MemPool-Spatz] 1. Rebase to latest terapool_merge 2. bug fixes. --- hardware/deps/spatz | 1 + hardware/src/mempool_group.sv | 18 ------------------ 2 files changed, 1 insertion(+), 18 deletions(-) create mode 160000 hardware/deps/spatz diff --git a/hardware/deps/spatz b/hardware/deps/spatz new file mode 160000 index 000000000..5e854f1fd --- /dev/null +++ b/hardware/deps/spatz @@ -0,0 +1 @@ +Subproject commit 5e854f1fd9e82df236565a61a710d3092059f471 diff --git a/hardware/src/mempool_group.sv b/hardware/src/mempool_group.sv index bb481ffc9..c6ecf84d7 100644 --- a/hardware/src/mempool_group.sv +++ b/hardware/src/mempool_group.sv @@ -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;