[hardware] Fix corner case of one DMA per tile
@@ -598,6 +598,7 @@ module mempool_group
.reqrsp_rsp_i(dma_reqrsp_rsp)
);
+ if (NumTilesPerDma > 1) begin: gen_dma_reqrsp_demux
reqrsp_demux #(
.NrPorts (NumTilesPerDma),
.req_t (reqrsp_req_t ),
@@ -612,6 +613,10 @@ module mempool_group
.mst_req_o (dma_tile_req ),
.mst_rsp_i (dma_tile_rsp )
);
+ end else begin: gen_dma_reqrsp_bypass
+ assign dma_tile_req = dma_reqrsp_req;
+ assign dma_reqrsp_rsp = dma_tile_rsp;
+ end
// Assignment to TCDM interconnect
// TODO: Reordering might be problematic
