From 3e8ef9d0a36776e5d1c3876711a5badd94290424 Mon Sep 17 00:00:00 2001 From: Tim Fischer Date: Fri, 10 Nov 2023 12:11:10 +0100 Subject: [PATCH] test: Use proper `id_t` type in mesh --- test/tb_floo_dma_mesh.sv | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/test/tb_floo_dma_mesh.sv b/test/tb_floo_dma_mesh.sv index d7cd6710..a700653a 100644 --- a/test/tb_floo_dma_mesh.sv +++ b/test/tb_floo_dma_mesh.sv @@ -213,15 +213,14 @@ module tb_floo_dma_mesh; .WideReorderBufferSize ( WideReorderBufferSize ), .CutAx ( CutAx ), .CutRsp ( CutRsp ), - .xy_id_t ( xy_id_t ) + .id_t ( xy_id_t ) ) i_hbm_chimney [NumChimneys-1:0] ( .clk_i ( clk ), .rst_ni ( rst_n ), .sram_cfg_i ( '0 ), .test_enable_i ( 1'b0 ), - .id_i ( '0 ), + .id_i ( xy_id_hbm ), .id_map_i ( '0 ), - .xy_id_i ( xy_id_hbm ), .axi_narrow_in_req_i ( '0 ), .axi_narrow_in_rsp_o ( ), .axi_narrow_out_req_o ( narrow_hbm_req[i] ), @@ -352,15 +351,14 @@ module tb_floo_dma_mesh; .WideReorderBufferSize ( WideReorderBufferSize ), .CutAx ( CutAx ), .CutRsp ( CutRsp ), - .xy_id_t ( xy_id_t ) + .id_t ( xy_id_t ) ) i_dma_chimney ( .clk_i ( clk ), .rst_ni ( rst_n ), .sram_cfg_i ( '0 ), .test_enable_i ( 1'b0 ), - .id_i ( '0 ), + .id_i ( current_id ), .id_map_i ( '0 ), - .xy_id_i ( current_id ), .axi_narrow_in_req_i ( narrow_man_req[x][y] ), .axi_narrow_in_rsp_o ( narrow_man_rsp[x][y] ), .axi_narrow_out_req_o ( narrow_sub_req[x][y] ), @@ -382,7 +380,7 @@ module tb_floo_dma_mesh; .ChannelFifoDepth ( ChannelFifoDepth ), .OutputFifoDepth ( OutputFifoDepth ), .RouteAlgo ( RouteAlgo ), - .XYRouteOpt ( 1'b0 ), + .XYRouteOpt ( 1'b1 ), .id_t ( xy_id_t ) ) i_router ( .clk_i ( clk ),