From 09f91b6876fb56aebca4d74a83f0905333846a3e Mon Sep 17 00:00:00 2001 From: Minseong Jang Date: Fri, 8 Nov 2024 12:52:27 +0000 Subject: [PATCH] Update ongoing assignments scripts --- .../unit_tests/mesh_4_4/test_mesh_4_4.py | 12 +- .../gemmini/verilog_wrappers/MeshBlackBox.v | 184 +++++++++--------- .../verilog_wrappers/MeshWithDelaysBlackBox.v | 108 +++++----- .../gemmini/verilog_wrappers/MeshWrapper.v | 172 ++++++++-------- .../gemmini/verilog_wrappers/TileBlackBox.v | 36 ++-- 5 files changed, 256 insertions(+), 256 deletions(-) diff --git a/scripts/gemmini/unit_tests/mesh_4_4/test_mesh_4_4.py b/scripts/gemmini/unit_tests/mesh_4_4/test_mesh_4_4.py index f9e6c83..0d4dcd2 100644 --- a/scripts/gemmini/unit_tests/mesh_4_4/test_mesh_4_4.py +++ b/scripts/gemmini/unit_tests/mesh_4_4/test_mesh_4_4.py @@ -34,11 +34,11 @@ def __init__(self, dut): cocotb.start_soon(Clock(dut.clk, 4, units="ns").start()) self.in_row_data_valids = self.dut.in_input_0_payload_discriminant - self.in_row_data_a = self.dut.in_input_0_payload_Some_0_a + self.in_row_data_a = self.dut.in_input_0_payload_Some_0_a_0 self.in_col_data_valids = self.dut.in_input_1_0_payload_discriminant - self.in_col_data_b = self.dut.in_input_1_0_payload_Some_0_b - self.in_col_data_d = self.dut.in_input_1_0_payload_Some_0_d + self.in_col_data_b = self.dut.in_input_1_0_payload_Some_0_b_0 + self.in_col_data_d = self.dut.in_input_1_0_payload_Some_0_d_0 self.in_col_ctrl_valids = self.dut.in_input_1_1_payload_discriminant self.in_col_ctrl_id = self.dut.in_input_1_1_payload_Some_0_id @@ -52,11 +52,11 @@ def __init__(self, dut): self.in_col_ctrl_shift = self.dut.in_input_1_1_payload_Some_0_control_shift self.out_row_data_valids = self.dut.out_output_0_payload_discriminant - self.out_row_data_a = self.dut.out_output_0_payload_Some_0_a + self.out_row_data_a = self.dut.out_output_0_payload_Some_0_a_0 self.out_col_data_valids = self.dut.out_output_1_0_payload_discriminant - self.out_col_data_b = self.dut.out_output_1_0_payload_Some_0_b - self.out_col_data_d = self.dut.out_output_1_0_payload_Some_0_d + self.out_col_data_b = self.dut.out_output_1_0_payload_Some_0_b_0 + self.out_col_data_d = self.dut.out_output_1_0_payload_Some_0_d_0 self.out_col_ctrl_valids = self.dut.out_output_1_1_payload_discriminant self.out_col_ctrl_id = self.dut.out_output_1_1_payload_Some_0_id diff --git a/scripts/gemmini/verilog_wrappers/MeshBlackBox.v b/scripts/gemmini/verilog_wrappers/MeshBlackBox.v index 1ef9e8d..b8901b3 100644 --- a/scripts/gemmini/verilog_wrappers/MeshBlackBox.v +++ b/scripts/gemmini/verilog_wrappers/MeshBlackBox.v @@ -275,10 +275,10 @@ module MeshBlackBoxAdapter ( ); wire [16-1:0] in_input_0_payload_discriminant; - wire [128-1:0] in_input_0_payload_Some_0_a; + wire [128-1:0] in_input_0_payload_Some_0_a_0; wire [16-1:0] in_input_1_0_payload_discriminant; - wire [320-1:0] in_input_1_0_payload_Some_0_b; - wire [320-1:0] in_input_1_0_payload_Some_0_d; + wire [320-1:0] in_input_1_0_payload_Some_0_b_0; + wire [320-1:0] in_input_1_0_payload_Some_0_d_0; wire [16-1:0] in_input_1_1_payload_discriminant = 16'hFFFF; wire [48-1:0] in_input_1_1_payload_Some_0_id; wire [16-1:0] in_input_1_1_payload_Some_0_last; @@ -287,10 +287,10 @@ module MeshBlackBoxAdapter ( wire [80-1:0] in_input_1_1_payload_Some_0_control_shift; wire [16-1:0] out_output_0_payload_discriminant; - wire [128-1:0] out_output_0_payload_Some_0_a; + wire [128-1:0] out_output_0_payload_Some_0_a_0; wire [16-1:0] out_output_1_0_payload_discriminant; - wire [320-1:0] out_output_1_0_payload_Some_0_b; - wire [320-1:0] out_output_1_0_payload_Some_0_d; + wire [320-1:0] out_output_1_0_payload_Some_0_b_0; + wire [320-1:0] out_output_1_0_payload_Some_0_d_0; wire [16-1:0] out_output_1_1_payload_discriminant; wire [48-1:0] out_output_1_1_payload_Some_0_id; wire [16-1:0] out_output_1_1_payload_Some_0_last; @@ -303,10 +303,10 @@ module MeshBlackBoxAdapter ( .clk(clock), .rst(1'b0), .in_input_0_payload_discriminant(in_input_0_payload_discriminant), - .in_input_0_payload_Some_0_a(in_input_0_payload_Some_0_a), + .in_input_0_payload_Some_0_a_0(in_input_0_payload_Some_0_a_0), .in_input_1_0_payload_discriminant(in_input_1_0_payload_discriminant), - .in_input_1_0_payload_Some_0_b(in_input_1_0_payload_Some_0_b), - .in_input_1_0_payload_Some_0_d(in_input_1_0_payload_Some_0_d), + .in_input_1_0_payload_Some_0_b_0(in_input_1_0_payload_Some_0_b_0), + .in_input_1_0_payload_Some_0_d_0(in_input_1_0_payload_Some_0_d_0), .in_input_1_1_payload_discriminant(in_input_1_1_payload_discriminant), .in_input_1_1_payload_Some_0_id(in_input_1_1_payload_Some_0_id), .in_input_1_1_payload_Some_0_last(in_input_1_1_payload_Some_0_last), @@ -314,10 +314,10 @@ module MeshBlackBoxAdapter ( .in_input_1_1_payload_Some_0_control_propagate_discriminant(in_input_1_1_payload_Some_0_control_propagate_discriminant), .in_input_1_1_payload_Some_0_control_shift(in_input_1_1_payload_Some_0_control_shift), .out_output_0_payload_discriminant(out_output_0_payload_discriminant), - .out_output_0_payload_Some_0_a(out_output_0_payload_Some_0_a), + .out_output_0_payload_Some_0_a_0(out_output_0_payload_Some_0_a_0), .out_output_1_0_payload_discriminant(out_output_1_0_payload_discriminant), - .out_output_1_0_payload_Some_0_b(out_output_1_0_payload_Some_0_b), - .out_output_1_0_payload_Some_0_d(out_output_1_0_payload_Some_0_d), + .out_output_1_0_payload_Some_0_b_0(out_output_1_0_payload_Some_0_b_0), + .out_output_1_0_payload_Some_0_d_0(out_output_1_0_payload_Some_0_d_0), .out_output_1_1_payload_discriminant(out_output_1_1_payload_discriminant), .out_output_1_1_payload_Some_0_id(out_output_1_1_payload_Some_0_id), .out_output_1_1_payload_Some_0_last(out_output_1_1_payload_Some_0_last), @@ -327,59 +327,59 @@ module MeshBlackBoxAdapter ( ); // assign io_in_a - assign in_input_0_payload_Some_0_a[0*8 +: 8] = io_in_a_0_0; - assign in_input_0_payload_Some_0_a[1*8 +: 8] = io_in_a_1_0; - assign in_input_0_payload_Some_0_a[2*8 +: 8] = io_in_a_2_0; - assign in_input_0_payload_Some_0_a[3*8 +: 8] = io_in_a_3_0; - assign in_input_0_payload_Some_0_a[4*8 +: 8] = io_in_a_4_0; - assign in_input_0_payload_Some_0_a[5*8 +: 8] = io_in_a_5_0; - assign in_input_0_payload_Some_0_a[6*8 +: 8] = io_in_a_6_0; - assign in_input_0_payload_Some_0_a[7*8 +: 8] = io_in_a_7_0; - assign in_input_0_payload_Some_0_a[8*8 +: 8] = io_in_a_8_0; - assign in_input_0_payload_Some_0_a[9*8 +: 8] = io_in_a_9_0; - assign in_input_0_payload_Some_0_a[10*8 +: 8] = io_in_a_10_0; - assign in_input_0_payload_Some_0_a[11*8 +: 8] = io_in_a_11_0; - assign in_input_0_payload_Some_0_a[12*8 +: 8] = io_in_a_12_0; - assign in_input_0_payload_Some_0_a[13*8 +: 8] = io_in_a_13_0; - assign in_input_0_payload_Some_0_a[14*8 +: 8] = io_in_a_14_0; - assign in_input_0_payload_Some_0_a[15*8 +: 8] = io_in_a_15_0; + assign in_input_0_payload_Some_0_a_0[0*8 +: 8] = io_in_a_0_0; + assign in_input_0_payload_Some_0_a_0[1*8 +: 8] = io_in_a_1_0; + assign in_input_0_payload_Some_0_a_0[2*8 +: 8] = io_in_a_2_0; + assign in_input_0_payload_Some_0_a_0[3*8 +: 8] = io_in_a_3_0; + assign in_input_0_payload_Some_0_a_0[4*8 +: 8] = io_in_a_4_0; + assign in_input_0_payload_Some_0_a_0[5*8 +: 8] = io_in_a_5_0; + assign in_input_0_payload_Some_0_a_0[6*8 +: 8] = io_in_a_6_0; + assign in_input_0_payload_Some_0_a_0[7*8 +: 8] = io_in_a_7_0; + assign in_input_0_payload_Some_0_a_0[8*8 +: 8] = io_in_a_8_0; + assign in_input_0_payload_Some_0_a_0[9*8 +: 8] = io_in_a_9_0; + assign in_input_0_payload_Some_0_a_0[10*8 +: 8] = io_in_a_10_0; + assign in_input_0_payload_Some_0_a_0[11*8 +: 8] = io_in_a_11_0; + assign in_input_0_payload_Some_0_a_0[12*8 +: 8] = io_in_a_12_0; + assign in_input_0_payload_Some_0_a_0[13*8 +: 8] = io_in_a_13_0; + assign in_input_0_payload_Some_0_a_0[14*8 +: 8] = io_in_a_14_0; + assign in_input_0_payload_Some_0_a_0[15*8 +: 8] = io_in_a_15_0; // assign io_in_b - assign in_input_1_0_payload_Some_0_b[0*20 +: 20] = { {12{io_in_b_0_0[7]}}, io_in_b_0_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[1*20 +: 20] = { {12{io_in_b_1_0[7]}}, io_in_b_1_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[2*20 +: 20] = { {12{io_in_b_2_0[7]}}, io_in_b_2_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[3*20 +: 20] = { {12{io_in_b_3_0[7]}}, io_in_b_3_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[4*20 +: 20] = { {12{io_in_b_4_0[7]}}, io_in_b_4_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[5*20 +: 20] = { {12{io_in_b_5_0[7]}}, io_in_b_5_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[6*20 +: 20] = { {12{io_in_b_6_0[7]}}, io_in_b_6_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[7*20 +: 20] = { {12{io_in_b_7_0[7]}}, io_in_b_7_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[8*20 +: 20] = { {12{io_in_b_8_0[7]}}, io_in_b_8_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[9*20 +: 20] = { {12{io_in_b_9_0[7]}}, io_in_b_9_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[10*20 +: 20] = { {12{io_in_b_10_0[7]}}, io_in_b_10_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[11*20 +: 20] = { {12{io_in_b_11_0[7]}}, io_in_b_11_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[12*20 +: 20] = { {12{io_in_b_12_0[7]}}, io_in_b_12_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[13*20 +: 20] = { {12{io_in_b_13_0[7]}}, io_in_b_13_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[14*20 +: 20] = { {12{io_in_b_14_0[7]}}, io_in_b_14_0[7:0] }; - assign in_input_1_0_payload_Some_0_b[15*20 +: 20] = { {12{io_in_b_15_0[7]}}, io_in_b_15_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[0*20 +: 20] = { {12{io_in_b_0_0[7]}}, io_in_b_0_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[1*20 +: 20] = { {12{io_in_b_1_0[7]}}, io_in_b_1_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[2*20 +: 20] = { {12{io_in_b_2_0[7]}}, io_in_b_2_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[3*20 +: 20] = { {12{io_in_b_3_0[7]}}, io_in_b_3_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[4*20 +: 20] = { {12{io_in_b_4_0[7]}}, io_in_b_4_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[5*20 +: 20] = { {12{io_in_b_5_0[7]}}, io_in_b_5_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[6*20 +: 20] = { {12{io_in_b_6_0[7]}}, io_in_b_6_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[7*20 +: 20] = { {12{io_in_b_7_0[7]}}, io_in_b_7_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[8*20 +: 20] = { {12{io_in_b_8_0[7]}}, io_in_b_8_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[9*20 +: 20] = { {12{io_in_b_9_0[7]}}, io_in_b_9_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[10*20 +: 20] = { {12{io_in_b_10_0[7]}}, io_in_b_10_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[11*20 +: 20] = { {12{io_in_b_11_0[7]}}, io_in_b_11_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[12*20 +: 20] = { {12{io_in_b_12_0[7]}}, io_in_b_12_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[13*20 +: 20] = { {12{io_in_b_13_0[7]}}, io_in_b_13_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[14*20 +: 20] = { {12{io_in_b_14_0[7]}}, io_in_b_14_0[7:0] }; + assign in_input_1_0_payload_Some_0_b_0[15*20 +: 20] = { {12{io_in_b_15_0[7]}}, io_in_b_15_0[7:0] }; // assign io_in_d - assign in_input_1_0_payload_Some_0_d[0*20 +: 20] = { {12{io_in_d_0_0[7]}}, io_in_d_0_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[1*20 +: 20] = { {12{io_in_d_1_0[7]}}, io_in_d_1_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[2*20 +: 20] = { {12{io_in_d_2_0[7]}}, io_in_d_2_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[3*20 +: 20] = { {12{io_in_d_3_0[7]}}, io_in_d_3_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[4*20 +: 20] = { {12{io_in_d_4_0[7]}}, io_in_d_4_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[5*20 +: 20] = { {12{io_in_d_5_0[7]}}, io_in_d_5_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[6*20 +: 20] = { {12{io_in_d_6_0[7]}}, io_in_d_6_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[7*20 +: 20] = { {12{io_in_d_7_0[7]}}, io_in_d_7_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[8*20 +: 20] = { {12{io_in_d_8_0[7]}}, io_in_d_8_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[9*20 +: 20] = { {12{io_in_d_9_0[7]}}, io_in_d_9_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[10*20 +: 20] = { {12{io_in_d_10_0[7]}}, io_in_d_10_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[11*20 +: 20] = { {12{io_in_d_11_0[7]}}, io_in_d_11_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[12*20 +: 20] = { {12{io_in_d_12_0[7]}}, io_in_d_12_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[13*20 +: 20] = { {12{io_in_d_13_0[7]}}, io_in_d_13_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[14*20 +: 20] = { {12{io_in_d_14_0[7]}}, io_in_d_14_0[7:0] }; - assign in_input_1_0_payload_Some_0_d[15*20 +: 20] = { {12{io_in_d_15_0[7]}}, io_in_d_15_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[0*20 +: 20] = { {12{io_in_d_0_0[7]}}, io_in_d_0_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[1*20 +: 20] = { {12{io_in_d_1_0[7]}}, io_in_d_1_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[2*20 +: 20] = { {12{io_in_d_2_0[7]}}, io_in_d_2_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[3*20 +: 20] = { {12{io_in_d_3_0[7]}}, io_in_d_3_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[4*20 +: 20] = { {12{io_in_d_4_0[7]}}, io_in_d_4_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[5*20 +: 20] = { {12{io_in_d_5_0[7]}}, io_in_d_5_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[6*20 +: 20] = { {12{io_in_d_6_0[7]}}, io_in_d_6_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[7*20 +: 20] = { {12{io_in_d_7_0[7]}}, io_in_d_7_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[8*20 +: 20] = { {12{io_in_d_8_0[7]}}, io_in_d_8_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[9*20 +: 20] = { {12{io_in_d_9_0[7]}}, io_in_d_9_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[10*20 +: 20] = { {12{io_in_d_10_0[7]}}, io_in_d_10_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[11*20 +: 20] = { {12{io_in_d_11_0[7]}}, io_in_d_11_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[12*20 +: 20] = { {12{io_in_d_12_0[7]}}, io_in_d_12_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[13*20 +: 20] = { {12{io_in_d_13_0[7]}}, io_in_d_13_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[14*20 +: 20] = { {12{io_in_d_14_0[7]}}, io_in_d_14_0[7:0] }; + assign in_input_1_0_payload_Some_0_d_0[15*20 +: 20] = { {12{io_in_d_15_0[7]}}, io_in_d_15_0[7:0] }; // assign io_in_control_dataflow assign in_input_1_1_payload_Some_0_control_dataflow_discriminant[0] = io_in_control_0_0_dataflow; @@ -507,40 +507,40 @@ module MeshBlackBoxAdapter ( assign in_input_1_0_payload_discriminant[15] = io_in_valid_15_0; // assign io_out_b - assign io_out_b_0_0 = out_output_1_0_payload_Some_0_b[0*20 +: 20]; - assign io_out_b_1_0 = out_output_1_0_payload_Some_0_b[1*20 +: 20]; - assign io_out_b_2_0 = out_output_1_0_payload_Some_0_b[2*20 +: 20]; - assign io_out_b_3_0 = out_output_1_0_payload_Some_0_b[3*20 +: 20]; - assign io_out_b_4_0 = out_output_1_0_payload_Some_0_b[4*20 +: 20]; - assign io_out_b_5_0 = out_output_1_0_payload_Some_0_b[5*20 +: 20]; - assign io_out_b_6_0 = out_output_1_0_payload_Some_0_b[6*20 +: 20]; - assign io_out_b_7_0 = out_output_1_0_payload_Some_0_b[7*20 +: 20]; - assign io_out_b_8_0 = out_output_1_0_payload_Some_0_b[8*20 +: 20]; - assign io_out_b_9_0 = out_output_1_0_payload_Some_0_b[9*20 +: 20]; - assign io_out_b_10_0 = out_output_1_0_payload_Some_0_b[10*20 +: 20]; - assign io_out_b_11_0 = out_output_1_0_payload_Some_0_b[11*20 +: 20]; - assign io_out_b_12_0 = out_output_1_0_payload_Some_0_b[12*20 +: 20]; - assign io_out_b_13_0 = out_output_1_0_payload_Some_0_b[13*20 +: 20]; - assign io_out_b_14_0 = out_output_1_0_payload_Some_0_b[14*20 +: 20]; - assign io_out_b_15_0 = out_output_1_0_payload_Some_0_b[15*20 +: 20]; + assign io_out_b_0_0 = out_output_1_0_payload_Some_0_b_0[0*20 +: 20]; + assign io_out_b_1_0 = out_output_1_0_payload_Some_0_b_0[1*20 +: 20]; + assign io_out_b_2_0 = out_output_1_0_payload_Some_0_b_0[2*20 +: 20]; + assign io_out_b_3_0 = out_output_1_0_payload_Some_0_b_0[3*20 +: 20]; + assign io_out_b_4_0 = out_output_1_0_payload_Some_0_b_0[4*20 +: 20]; + assign io_out_b_5_0 = out_output_1_0_payload_Some_0_b_0[5*20 +: 20]; + assign io_out_b_6_0 = out_output_1_0_payload_Some_0_b_0[6*20 +: 20]; + assign io_out_b_7_0 = out_output_1_0_payload_Some_0_b_0[7*20 +: 20]; + assign io_out_b_8_0 = out_output_1_0_payload_Some_0_b_0[8*20 +: 20]; + assign io_out_b_9_0 = out_output_1_0_payload_Some_0_b_0[9*20 +: 20]; + assign io_out_b_10_0 = out_output_1_0_payload_Some_0_b_0[10*20 +: 20]; + assign io_out_b_11_0 = out_output_1_0_payload_Some_0_b_0[11*20 +: 20]; + assign io_out_b_12_0 = out_output_1_0_payload_Some_0_b_0[12*20 +: 20]; + assign io_out_b_13_0 = out_output_1_0_payload_Some_0_b_0[13*20 +: 20]; + assign io_out_b_14_0 = out_output_1_0_payload_Some_0_b_0[14*20 +: 20]; + assign io_out_b_15_0 = out_output_1_0_payload_Some_0_b_0[15*20 +: 20]; // assign io_out_c - assign io_out_c_0_0 = out_output_1_0_payload_Some_0_d[0*20 +: 20]; - assign io_out_c_1_0 = out_output_1_0_payload_Some_0_d[1*20 +: 20]; - assign io_out_c_2_0 = out_output_1_0_payload_Some_0_d[2*20 +: 20]; - assign io_out_c_3_0 = out_output_1_0_payload_Some_0_d[3*20 +: 20]; - assign io_out_c_4_0 = out_output_1_0_payload_Some_0_d[4*20 +: 20]; - assign io_out_c_5_0 = out_output_1_0_payload_Some_0_d[5*20 +: 20]; - assign io_out_c_6_0 = out_output_1_0_payload_Some_0_d[6*20 +: 20]; - assign io_out_c_7_0 = out_output_1_0_payload_Some_0_d[7*20 +: 20]; - assign io_out_c_8_0 = out_output_1_0_payload_Some_0_d[8*20 +: 20]; - assign io_out_c_9_0 = out_output_1_0_payload_Some_0_d[9*20 +: 20]; - assign io_out_c_10_0 = out_output_1_0_payload_Some_0_d[10*20 +: 20]; - assign io_out_c_11_0 = out_output_1_0_payload_Some_0_d[11*20 +: 20]; - assign io_out_c_12_0 = out_output_1_0_payload_Some_0_d[12*20 +: 20]; - assign io_out_c_13_0 = out_output_1_0_payload_Some_0_d[13*20 +: 20]; - assign io_out_c_14_0 = out_output_1_0_payload_Some_0_d[14*20 +: 20]; - assign io_out_c_15_0 = out_output_1_0_payload_Some_0_d[15*20 +: 20]; + assign io_out_c_0_0 = out_output_1_0_payload_Some_0_d_0[0*20 +: 20]; + assign io_out_c_1_0 = out_output_1_0_payload_Some_0_d_0[1*20 +: 20]; + assign io_out_c_2_0 = out_output_1_0_payload_Some_0_d_0[2*20 +: 20]; + assign io_out_c_3_0 = out_output_1_0_payload_Some_0_d_0[3*20 +: 20]; + assign io_out_c_4_0 = out_output_1_0_payload_Some_0_d_0[4*20 +: 20]; + assign io_out_c_5_0 = out_output_1_0_payload_Some_0_d_0[5*20 +: 20]; + assign io_out_c_6_0 = out_output_1_0_payload_Some_0_d_0[6*20 +: 20]; + assign io_out_c_7_0 = out_output_1_0_payload_Some_0_d_0[7*20 +: 20]; + assign io_out_c_8_0 = out_output_1_0_payload_Some_0_d_0[8*20 +: 20]; + assign io_out_c_9_0 = out_output_1_0_payload_Some_0_d_0[9*20 +: 20]; + assign io_out_c_10_0 = out_output_1_0_payload_Some_0_d_0[10*20 +: 20]; + assign io_out_c_11_0 = out_output_1_0_payload_Some_0_d_0[11*20 +: 20]; + assign io_out_c_12_0 = out_output_1_0_payload_Some_0_d_0[12*20 +: 20]; + assign io_out_c_13_0 = out_output_1_0_payload_Some_0_d_0[13*20 +: 20]; + assign io_out_c_14_0 = out_output_1_0_payload_Some_0_d_0[14*20 +: 20]; + assign io_out_c_15_0 = out_output_1_0_payload_Some_0_d_0[15*20 +: 20]; // // assign io_out_valid assign io_out_valid_0_0 = out_output_1_0_payload_discriminant[0] & out_output_0_payload_discriminant[0]; diff --git a/scripts/gemmini/verilog_wrappers/MeshWithDelaysBlackBox.v b/scripts/gemmini/verilog_wrappers/MeshWithDelaysBlackBox.v index f9dce9d..3b9c4aa 100644 --- a/scripts/gemmini/verilog_wrappers/MeshWithDelaysBlackBox.v +++ b/scripts/gemmini/verilog_wrappers/MeshWithDelaysBlackBox.v @@ -172,60 +172,60 @@ module MeshWithDelaysBlackBoxAdapter( output [4:0] io_tags_in_progress_5_rows, // DontCare output [4:0] io_tags_in_progress_5_cols // DontCare ); - wire [128-1:0] in_input_0_payload_Some_0_a; - wire [128-1:0] in_input_1_payload_Some_0_b; - wire [128-1:0] in_input_2_payload_Some_0_d; + wire [128-1:0] in_input_0_payload_Some_0_a_0; + wire [128-1:0] in_input_1_payload_Some_0_b_0; + wire [128-1:0] in_input_2_payload_Some_0_d_0; - assign in_input_0_payload_Some_0_a[0*8 +: 8] = io_a_bits_0_0; - assign in_input_0_payload_Some_0_a[1*8 +: 8] = io_a_bits_1_0; - assign in_input_0_payload_Some_0_a[2*8 +: 8] = io_a_bits_2_0; - assign in_input_0_payload_Some_0_a[3*8 +: 8] = io_a_bits_3_0; - assign in_input_0_payload_Some_0_a[4*8 +: 8] = io_a_bits_4_0; - assign in_input_0_payload_Some_0_a[5*8 +: 8] = io_a_bits_5_0; - assign in_input_0_payload_Some_0_a[6*8 +: 8] = io_a_bits_6_0; - assign in_input_0_payload_Some_0_a[7*8 +: 8] = io_a_bits_7_0; - assign in_input_0_payload_Some_0_a[8*8 +: 8] = io_a_bits_8_0; - assign in_input_0_payload_Some_0_a[9*8 +: 8] = io_a_bits_9_0; - assign in_input_0_payload_Some_0_a[10*8 +: 8] = io_a_bits_10_0; - assign in_input_0_payload_Some_0_a[11*8 +: 8] = io_a_bits_11_0; - assign in_input_0_payload_Some_0_a[12*8 +: 8] = io_a_bits_12_0; - assign in_input_0_payload_Some_0_a[13*8 +: 8] = io_a_bits_13_0; - assign in_input_0_payload_Some_0_a[14*8 +: 8] = io_a_bits_14_0; - assign in_input_0_payload_Some_0_a[15*8 +: 8] = io_a_bits_15_0; + assign in_input_0_payload_Some_0_a_0[0*8 +: 8] = io_a_bits_0_0; + assign in_input_0_payload_Some_0_a_0[1*8 +: 8] = io_a_bits_1_0; + assign in_input_0_payload_Some_0_a_0[2*8 +: 8] = io_a_bits_2_0; + assign in_input_0_payload_Some_0_a_0[3*8 +: 8] = io_a_bits_3_0; + assign in_input_0_payload_Some_0_a_0[4*8 +: 8] = io_a_bits_4_0; + assign in_input_0_payload_Some_0_a_0[5*8 +: 8] = io_a_bits_5_0; + assign in_input_0_payload_Some_0_a_0[6*8 +: 8] = io_a_bits_6_0; + assign in_input_0_payload_Some_0_a_0[7*8 +: 8] = io_a_bits_7_0; + assign in_input_0_payload_Some_0_a_0[8*8 +: 8] = io_a_bits_8_0; + assign in_input_0_payload_Some_0_a_0[9*8 +: 8] = io_a_bits_9_0; + assign in_input_0_payload_Some_0_a_0[10*8 +: 8] = io_a_bits_10_0; + assign in_input_0_payload_Some_0_a_0[11*8 +: 8] = io_a_bits_11_0; + assign in_input_0_payload_Some_0_a_0[12*8 +: 8] = io_a_bits_12_0; + assign in_input_0_payload_Some_0_a_0[13*8 +: 8] = io_a_bits_13_0; + assign in_input_0_payload_Some_0_a_0[14*8 +: 8] = io_a_bits_14_0; + assign in_input_0_payload_Some_0_a_0[15*8 +: 8] = io_a_bits_15_0; - assign in_input_1_payload_Some_0_b[0*8 +: 8] = io_b_bits_0_0; - assign in_input_1_payload_Some_0_b[1*8 +: 8] = io_b_bits_1_0; - assign in_input_1_payload_Some_0_b[2*8 +: 8] = io_b_bits_2_0; - assign in_input_1_payload_Some_0_b[3*8 +: 8] = io_b_bits_3_0; - assign in_input_1_payload_Some_0_b[4*8 +: 8] = io_b_bits_4_0; - assign in_input_1_payload_Some_0_b[5*8 +: 8] = io_b_bits_5_0; - assign in_input_1_payload_Some_0_b[6*8 +: 8] = io_b_bits_6_0; - assign in_input_1_payload_Some_0_b[7*8 +: 8] = io_b_bits_7_0; - assign in_input_1_payload_Some_0_b[8*8 +: 8] = io_b_bits_8_0; - assign in_input_1_payload_Some_0_b[9*8 +: 8] = io_b_bits_9_0; - assign in_input_1_payload_Some_0_b[10*8 +: 8] = io_b_bits_10_0; - assign in_input_1_payload_Some_0_b[11*8 +: 8] = io_b_bits_11_0; - assign in_input_1_payload_Some_0_b[12*8 +: 8] = io_b_bits_12_0; - assign in_input_1_payload_Some_0_b[13*8 +: 8] = io_b_bits_13_0; - assign in_input_1_payload_Some_0_b[14*8 +: 8] = io_b_bits_14_0; - assign in_input_1_payload_Some_0_b[15*8 +: 8] = io_b_bits_15_0; + assign in_input_1_payload_Some_0_b_0[0*8 +: 8] = io_b_bits_0_0; + assign in_input_1_payload_Some_0_b_0[1*8 +: 8] = io_b_bits_1_0; + assign in_input_1_payload_Some_0_b_0[2*8 +: 8] = io_b_bits_2_0; + assign in_input_1_payload_Some_0_b_0[3*8 +: 8] = io_b_bits_3_0; + assign in_input_1_payload_Some_0_b_0[4*8 +: 8] = io_b_bits_4_0; + assign in_input_1_payload_Some_0_b_0[5*8 +: 8] = io_b_bits_5_0; + assign in_input_1_payload_Some_0_b_0[6*8 +: 8] = io_b_bits_6_0; + assign in_input_1_payload_Some_0_b_0[7*8 +: 8] = io_b_bits_7_0; + assign in_input_1_payload_Some_0_b_0[8*8 +: 8] = io_b_bits_8_0; + assign in_input_1_payload_Some_0_b_0[9*8 +: 8] = io_b_bits_9_0; + assign in_input_1_payload_Some_0_b_0[10*8 +: 8] = io_b_bits_10_0; + assign in_input_1_payload_Some_0_b_0[11*8 +: 8] = io_b_bits_11_0; + assign in_input_1_payload_Some_0_b_0[12*8 +: 8] = io_b_bits_12_0; + assign in_input_1_payload_Some_0_b_0[13*8 +: 8] = io_b_bits_13_0; + assign in_input_1_payload_Some_0_b_0[14*8 +: 8] = io_b_bits_14_0; + assign in_input_1_payload_Some_0_b_0[15*8 +: 8] = io_b_bits_15_0; - assign in_input_2_payload_Some_0_d[0*8 +: 8] = io_d_bits_0_0; - assign in_input_2_payload_Some_0_d[1*8 +: 8] = io_d_bits_1_0; - assign in_input_2_payload_Some_0_d[2*8 +: 8] = io_d_bits_2_0; - assign in_input_2_payload_Some_0_d[3*8 +: 8] = io_d_bits_3_0; - assign in_input_2_payload_Some_0_d[4*8 +: 8] = io_d_bits_4_0; - assign in_input_2_payload_Some_0_d[5*8 +: 8] = io_d_bits_5_0; - assign in_input_2_payload_Some_0_d[6*8 +: 8] = io_d_bits_6_0; - assign in_input_2_payload_Some_0_d[7*8 +: 8] = io_d_bits_7_0; - assign in_input_2_payload_Some_0_d[8*8 +: 8] = io_d_bits_8_0; - assign in_input_2_payload_Some_0_d[9*8 +: 8] = io_d_bits_9_0; - assign in_input_2_payload_Some_0_d[10*8 +: 8] = io_d_bits_10_0; - assign in_input_2_payload_Some_0_d[11*8 +: 8] = io_d_bits_11_0; - assign in_input_2_payload_Some_0_d[12*8 +: 8] = io_d_bits_12_0; - assign in_input_2_payload_Some_0_d[13*8 +: 8] = io_d_bits_13_0; - assign in_input_2_payload_Some_0_d[14*8 +: 8] = io_d_bits_14_0; - assign in_input_2_payload_Some_0_d[15*8 +: 8] = io_d_bits_15_0; + assign in_input_2_payload_Some_0_d_0[0*8 +: 8] = io_d_bits_0_0; + assign in_input_2_payload_Some_0_d_0[1*8 +: 8] = io_d_bits_1_0; + assign in_input_2_payload_Some_0_d_0[2*8 +: 8] = io_d_bits_2_0; + assign in_input_2_payload_Some_0_d_0[3*8 +: 8] = io_d_bits_3_0; + assign in_input_2_payload_Some_0_d_0[4*8 +: 8] = io_d_bits_4_0; + assign in_input_2_payload_Some_0_d_0[5*8 +: 8] = io_d_bits_5_0; + assign in_input_2_payload_Some_0_d_0[6*8 +: 8] = io_d_bits_6_0; + assign in_input_2_payload_Some_0_d_0[7*8 +: 8] = io_d_bits_7_0; + assign in_input_2_payload_Some_0_d_0[8*8 +: 8] = io_d_bits_8_0; + assign in_input_2_payload_Some_0_d_0[9*8 +: 8] = io_d_bits_9_0; + assign in_input_2_payload_Some_0_d_0[10*8 +: 8] = io_d_bits_10_0; + assign in_input_2_payload_Some_0_d_0[11*8 +: 8] = io_d_bits_11_0; + assign in_input_2_payload_Some_0_d_0[12*8 +: 8] = io_d_bits_12_0; + assign in_input_2_payload_Some_0_d_0[13*8 +: 8] = io_d_bits_13_0; + assign in_input_2_payload_Some_0_d_0[14*8 +: 8] = io_d_bits_14_0; + assign in_input_2_payload_Some_0_d_0[15*8 +: 8] = io_d_bits_15_0; // Output wires. wire [320-1:0] out_output_payload_Some_0_data; @@ -252,11 +252,11 @@ module MeshWithDelaysBlackBoxAdapter( .rst(reset), .in_input_0_payload_discriminant(io_a_valid), - .in_input_0_payload_Some_0(in_input_0_payload_Some_0_a), + .in_input_0_payload_Some_0(in_input_0_payload_Some_0_a_0), .in_input_1_payload_discriminant(io_b_valid), - .in_input_1_payload_Some_0(in_input_1_payload_Some_0_b), + .in_input_1_payload_Some_0(in_input_1_payload_Some_0_b_0), .in_input_2_payload_discriminant(io_d_valid), - .in_input_2_payload_Some_0(in_input_2_payload_Some_0_d), + .in_input_2_payload_Some_0(in_input_2_payload_Some_0_d_0), .in_input_3_payload_discriminant(io_req_valid), .in_input_3_payload_Some_0_tag_rob_id_discriminant(io_req_bits_tag_rob_id_valid), .in_input_3_payload_Some_0_tag_rob_id_Some_0(io_req_bits_tag_rob_id_bits), diff --git a/scripts/gemmini/verilog_wrappers/MeshWrapper.v b/scripts/gemmini/verilog_wrappers/MeshWrapper.v index a7b1015..ef5b1f8 100644 --- a/scripts/gemmini/verilog_wrappers/MeshWrapper.v +++ b/scripts/gemmini/verilog_wrappers/MeshWrapper.v @@ -4,10 +4,10 @@ module MeshWrapper input rst, input [16-1:0] in_input_0_payload_discriminant, - input [128-1:0] in_input_0_payload_Some_0_a, + input [128-1:0] in_input_0_payload_Some_0_a_0, input [16-1:0] in_input_1_0_payload_discriminant, - input [320-1:0] in_input_1_0_payload_Some_0_b, - input [320-1:0] in_input_1_0_payload_Some_0_d, + input [320-1:0] in_input_1_0_payload_Some_0_b_0, + input [320-1:0] in_input_1_0_payload_Some_0_d_0, input [16-1:0] in_input_1_1_payload_discriminant, input [48-1:0] in_input_1_1_payload_Some_0_id, input [16-1:0] in_input_1_1_payload_Some_0_last, @@ -17,10 +17,10 @@ module MeshWrapper input [16-1:0] in_input_1_1_payload_Some_0_bad_dataflow, output [16-1:0] out_output_0_payload_discriminant, // DontCare - output [128-1:0] out_output_0_payload_Some_0_a, // DontCare + output [128-1:0] out_output_0_payload_Some_0_a_0, // DontCare output [16-1:0] out_output_1_0_payload_discriminant, - output [320-1:0] out_output_1_0_payload_Some_0_b, - output [320-1:0] out_output_1_0_payload_Some_0_d, + output [320-1:0] out_output_1_0_payload_Some_0_b_0, + output [320-1:0] out_output_1_0_payload_Some_0_d_0, output [16-1:0] out_output_1_1_payload_discriminant, output [48-1:0] out_output_1_1_payload_Some_0_id, output [16-1:0] out_output_1_1_payload_Some_0_last, @@ -38,56 +38,56 @@ module MeshWrapper .clock(clk), .reset(rst), - .io_in_a_0_0(in_input_0_payload_Some_0_a[0*8 +: 8]), - .io_in_a_1_0(in_input_0_payload_Some_0_a[1*8 +: 8]), - .io_in_a_2_0(in_input_0_payload_Some_0_a[2*8 +: 8]), - .io_in_a_3_0(in_input_0_payload_Some_0_a[3*8 +: 8]), - .io_in_a_4_0(in_input_0_payload_Some_0_a[4*8 +: 8]), - .io_in_a_5_0(in_input_0_payload_Some_0_a[5*8 +: 8]), - .io_in_a_6_0(in_input_0_payload_Some_0_a[6*8 +: 8]), - .io_in_a_7_0(in_input_0_payload_Some_0_a[7*8 +: 8]), - .io_in_a_8_0(in_input_0_payload_Some_0_a[8*8 +: 8]), - .io_in_a_9_0(in_input_0_payload_Some_0_a[9*8 +: 8]), - .io_in_a_10_0(in_input_0_payload_Some_0_a[10*8 +: 8]), - .io_in_a_11_0(in_input_0_payload_Some_0_a[11*8 +: 8]), - .io_in_a_12_0(in_input_0_payload_Some_0_a[12*8 +: 8]), - .io_in_a_13_0(in_input_0_payload_Some_0_a[13*8 +: 8]), - .io_in_a_14_0(in_input_0_payload_Some_0_a[14*8 +: 8]), - .io_in_a_15_0(in_input_0_payload_Some_0_a[15*8 +: 8]), + .io_in_a_0_0(in_input_0_payload_Some_0_a_0[0*8 +: 8]), + .io_in_a_1_0(in_input_0_payload_Some_0_a_0[1*8 +: 8]), + .io_in_a_2_0(in_input_0_payload_Some_0_a_0[2*8 +: 8]), + .io_in_a_3_0(in_input_0_payload_Some_0_a_0[3*8 +: 8]), + .io_in_a_4_0(in_input_0_payload_Some_0_a_0[4*8 +: 8]), + .io_in_a_5_0(in_input_0_payload_Some_0_a_0[5*8 +: 8]), + .io_in_a_6_0(in_input_0_payload_Some_0_a_0[6*8 +: 8]), + .io_in_a_7_0(in_input_0_payload_Some_0_a_0[7*8 +: 8]), + .io_in_a_8_0(in_input_0_payload_Some_0_a_0[8*8 +: 8]), + .io_in_a_9_0(in_input_0_payload_Some_0_a_0[9*8 +: 8]), + .io_in_a_10_0(in_input_0_payload_Some_0_a_0[10*8 +: 8]), + .io_in_a_11_0(in_input_0_payload_Some_0_a_0[11*8 +: 8]), + .io_in_a_12_0(in_input_0_payload_Some_0_a_0[12*8 +: 8]), + .io_in_a_13_0(in_input_0_payload_Some_0_a_0[13*8 +: 8]), + .io_in_a_14_0(in_input_0_payload_Some_0_a_0[14*8 +: 8]), + .io_in_a_15_0(in_input_0_payload_Some_0_a_0[15*8 +: 8]), - .io_in_b_0_0(in_input_1_0_payload_Some_0_b[0*20 +: 20]), - .io_in_b_1_0(in_input_1_0_payload_Some_0_b[1*20 +: 20]), - .io_in_b_2_0(in_input_1_0_payload_Some_0_b[2*20 +: 20]), - .io_in_b_3_0(in_input_1_0_payload_Some_0_b[3*20 +: 20]), - .io_in_b_4_0(in_input_1_0_payload_Some_0_b[4*20 +: 20]), - .io_in_b_5_0(in_input_1_0_payload_Some_0_b[5*20 +: 20]), - .io_in_b_6_0(in_input_1_0_payload_Some_0_b[6*20 +: 20]), - .io_in_b_7_0(in_input_1_0_payload_Some_0_b[7*20 +: 20]), - .io_in_b_8_0(in_input_1_0_payload_Some_0_b[8*20 +: 20]), - .io_in_b_9_0(in_input_1_0_payload_Some_0_b[9*20 +: 20]), - .io_in_b_10_0(in_input_1_0_payload_Some_0_b[10*20 +: 20]), - .io_in_b_11_0(in_input_1_0_payload_Some_0_b[11*20 +: 20]), - .io_in_b_12_0(in_input_1_0_payload_Some_0_b[12*20 +: 20]), - .io_in_b_13_0(in_input_1_0_payload_Some_0_b[13*20 +: 20]), - .io_in_b_14_0(in_input_1_0_payload_Some_0_b[14*20 +: 20]), - .io_in_b_15_0(in_input_1_0_payload_Some_0_b[15*20 +: 20]), + .io_in_b_0_0(in_input_1_0_payload_Some_0_b_0[0*20 +: 20]), + .io_in_b_1_0(in_input_1_0_payload_Some_0_b_0[1*20 +: 20]), + .io_in_b_2_0(in_input_1_0_payload_Some_0_b_0[2*20 +: 20]), + .io_in_b_3_0(in_input_1_0_payload_Some_0_b_0[3*20 +: 20]), + .io_in_b_4_0(in_input_1_0_payload_Some_0_b_0[4*20 +: 20]), + .io_in_b_5_0(in_input_1_0_payload_Some_0_b_0[5*20 +: 20]), + .io_in_b_6_0(in_input_1_0_payload_Some_0_b_0[6*20 +: 20]), + .io_in_b_7_0(in_input_1_0_payload_Some_0_b_0[7*20 +: 20]), + .io_in_b_8_0(in_input_1_0_payload_Some_0_b_0[8*20 +: 20]), + .io_in_b_9_0(in_input_1_0_payload_Some_0_b_0[9*20 +: 20]), + .io_in_b_10_0(in_input_1_0_payload_Some_0_b_0[10*20 +: 20]), + .io_in_b_11_0(in_input_1_0_payload_Some_0_b_0[11*20 +: 20]), + .io_in_b_12_0(in_input_1_0_payload_Some_0_b_0[12*20 +: 20]), + .io_in_b_13_0(in_input_1_0_payload_Some_0_b_0[13*20 +: 20]), + .io_in_b_14_0(in_input_1_0_payload_Some_0_b_0[14*20 +: 20]), + .io_in_b_15_0(in_input_1_0_payload_Some_0_b_0[15*20 +: 20]), - .io_in_d_0_0(in_input_1_0_payload_Some_0_d[0*20 +: 20]), - .io_in_d_1_0(in_input_1_0_payload_Some_0_d[1*20 +: 20]), - .io_in_d_2_0(in_input_1_0_payload_Some_0_d[2*20 +: 20]), - .io_in_d_3_0(in_input_1_0_payload_Some_0_d[3*20 +: 20]), - .io_in_d_4_0(in_input_1_0_payload_Some_0_d[4*20 +: 20]), - .io_in_d_5_0(in_input_1_0_payload_Some_0_d[5*20 +: 20]), - .io_in_d_6_0(in_input_1_0_payload_Some_0_d[6*20 +: 20]), - .io_in_d_7_0(in_input_1_0_payload_Some_0_d[7*20 +: 20]), - .io_in_d_8_0(in_input_1_0_payload_Some_0_d[8*20 +: 20]), - .io_in_d_9_0(in_input_1_0_payload_Some_0_d[9*20 +: 20]), - .io_in_d_10_0(in_input_1_0_payload_Some_0_d[10*20 +: 20]), - .io_in_d_11_0(in_input_1_0_payload_Some_0_d[11*20 +: 20]), - .io_in_d_12_0(in_input_1_0_payload_Some_0_d[12*20 +: 20]), - .io_in_d_13_0(in_input_1_0_payload_Some_0_d[13*20 +: 20]), - .io_in_d_14_0(in_input_1_0_payload_Some_0_d[14*20 +: 20]), - .io_in_d_15_0(in_input_1_0_payload_Some_0_d[15*20 +: 20]), + .io_in_d_0_0(in_input_1_0_payload_Some_0_d_0[0*20 +: 20]), + .io_in_d_1_0(in_input_1_0_payload_Some_0_d_0[1*20 +: 20]), + .io_in_d_2_0(in_input_1_0_payload_Some_0_d_0[2*20 +: 20]), + .io_in_d_3_0(in_input_1_0_payload_Some_0_d_0[3*20 +: 20]), + .io_in_d_4_0(in_input_1_0_payload_Some_0_d_0[4*20 +: 20]), + .io_in_d_5_0(in_input_1_0_payload_Some_0_d_0[5*20 +: 20]), + .io_in_d_6_0(in_input_1_0_payload_Some_0_d_0[6*20 +: 20]), + .io_in_d_7_0(in_input_1_0_payload_Some_0_d_0[7*20 +: 20]), + .io_in_d_8_0(in_input_1_0_payload_Some_0_d_0[8*20 +: 20]), + .io_in_d_9_0(in_input_1_0_payload_Some_0_d_0[9*20 +: 20]), + .io_in_d_10_0(in_input_1_0_payload_Some_0_d_0[10*20 +: 20]), + .io_in_d_11_0(in_input_1_0_payload_Some_0_d_0[11*20 +: 20]), + .io_in_d_12_0(in_input_1_0_payload_Some_0_d_0[12*20 +: 20]), + .io_in_d_13_0(in_input_1_0_payload_Some_0_d_0[13*20 +: 20]), + .io_in_d_14_0(in_input_1_0_payload_Some_0_d_0[14*20 +: 20]), + .io_in_d_15_0(in_input_1_0_payload_Some_0_d_0[15*20 +: 20]), .io_in_control_0_0_dataflow(in_input_1_1_payload_Some_0_control_dataflow_discriminant[0]), .io_in_control_0_0_propagate(in_input_1_1_payload_Some_0_control_propagate_discriminant[0]), @@ -189,39 +189,39 @@ module MeshWrapper .io_in_valid_14_0(in_input_1_1_payload_discriminant[14]), .io_in_valid_15_0(in_input_1_1_payload_discriminant[15]), - .io_out_b_0_0(out_output_1_0_payload_Some_0_b[0*20 +: 20]), - .io_out_b_1_0(out_output_1_0_payload_Some_0_b[1*20 +: 20]), - .io_out_b_2_0(out_output_1_0_payload_Some_0_b[2*20 +: 20]), - .io_out_b_3_0(out_output_1_0_payload_Some_0_b[3*20 +: 20]), - .io_out_b_4_0(out_output_1_0_payload_Some_0_b[4*20 +: 20]), - .io_out_b_5_0(out_output_1_0_payload_Some_0_b[5*20 +: 20]), - .io_out_b_6_0(out_output_1_0_payload_Some_0_b[6*20 +: 20]), - .io_out_b_7_0(out_output_1_0_payload_Some_0_b[7*20 +: 20]), - .io_out_b_8_0(out_output_1_0_payload_Some_0_b[8*20 +: 20]), - .io_out_b_9_0(out_output_1_0_payload_Some_0_b[9*20 +: 20]), - .io_out_b_10_0(out_output_1_0_payload_Some_0_b[10*20 +: 20]), - .io_out_b_11_0(out_output_1_0_payload_Some_0_b[11*20 +: 20]), - .io_out_b_12_0(out_output_1_0_payload_Some_0_b[12*20 +: 20]), - .io_out_b_13_0(out_output_1_0_payload_Some_0_b[13*20 +: 20]), - .io_out_b_14_0(out_output_1_0_payload_Some_0_b[14*20 +: 20]), - .io_out_b_15_0(out_output_1_0_payload_Some_0_b[15*20 +: 20]), + .io_out_b_0_0(out_output_1_0_payload_Some_0_b_0[0*20 +: 20]), + .io_out_b_1_0(out_output_1_0_payload_Some_0_b_0[1*20 +: 20]), + .io_out_b_2_0(out_output_1_0_payload_Some_0_b_0[2*20 +: 20]), + .io_out_b_3_0(out_output_1_0_payload_Some_0_b_0[3*20 +: 20]), + .io_out_b_4_0(out_output_1_0_payload_Some_0_b_0[4*20 +: 20]), + .io_out_b_5_0(out_output_1_0_payload_Some_0_b_0[5*20 +: 20]), + .io_out_b_6_0(out_output_1_0_payload_Some_0_b_0[6*20 +: 20]), + .io_out_b_7_0(out_output_1_0_payload_Some_0_b_0[7*20 +: 20]), + .io_out_b_8_0(out_output_1_0_payload_Some_0_b_0[8*20 +: 20]), + .io_out_b_9_0(out_output_1_0_payload_Some_0_b_0[9*20 +: 20]), + .io_out_b_10_0(out_output_1_0_payload_Some_0_b_0[10*20 +: 20]), + .io_out_b_11_0(out_output_1_0_payload_Some_0_b_0[11*20 +: 20]), + .io_out_b_12_0(out_output_1_0_payload_Some_0_b_0[12*20 +: 20]), + .io_out_b_13_0(out_output_1_0_payload_Some_0_b_0[13*20 +: 20]), + .io_out_b_14_0(out_output_1_0_payload_Some_0_b_0[14*20 +: 20]), + .io_out_b_15_0(out_output_1_0_payload_Some_0_b_0[15*20 +: 20]), - .io_out_c_0_0(out_output_1_0_payload_Some_0_d[0*20 +: 20]), - .io_out_c_1_0(out_output_1_0_payload_Some_0_d[1*20 +: 20]), - .io_out_c_2_0(out_output_1_0_payload_Some_0_d[2*20 +: 20]), - .io_out_c_3_0(out_output_1_0_payload_Some_0_d[3*20 +: 20]), - .io_out_c_4_0(out_output_1_0_payload_Some_0_d[4*20 +: 20]), - .io_out_c_5_0(out_output_1_0_payload_Some_0_d[5*20 +: 20]), - .io_out_c_6_0(out_output_1_0_payload_Some_0_d[6*20 +: 20]), - .io_out_c_7_0(out_output_1_0_payload_Some_0_d[7*20 +: 20]), - .io_out_c_8_0(out_output_1_0_payload_Some_0_d[8*20 +: 20]), - .io_out_c_9_0(out_output_1_0_payload_Some_0_d[9*20 +: 20]), - .io_out_c_10_0(out_output_1_0_payload_Some_0_d[10*20 +: 20]), - .io_out_c_11_0(out_output_1_0_payload_Some_0_d[11*20 +: 20]), - .io_out_c_12_0(out_output_1_0_payload_Some_0_d[12*20 +: 20]), - .io_out_c_13_0(out_output_1_0_payload_Some_0_d[13*20 +: 20]), - .io_out_c_14_0(out_output_1_0_payload_Some_0_d[14*20 +: 20]), - .io_out_c_15_0(out_output_1_0_payload_Some_0_d[15*20 +: 20]), + .io_out_c_0_0(out_output_1_0_payload_Some_0_d_0[0*20 +: 20]), + .io_out_c_1_0(out_output_1_0_payload_Some_0_d_0[1*20 +: 20]), + .io_out_c_2_0(out_output_1_0_payload_Some_0_d_0[2*20 +: 20]), + .io_out_c_3_0(out_output_1_0_payload_Some_0_d_0[3*20 +: 20]), + .io_out_c_4_0(out_output_1_0_payload_Some_0_d_0[4*20 +: 20]), + .io_out_c_5_0(out_output_1_0_payload_Some_0_d_0[5*20 +: 20]), + .io_out_c_6_0(out_output_1_0_payload_Some_0_d_0[6*20 +: 20]), + .io_out_c_7_0(out_output_1_0_payload_Some_0_d_0[7*20 +: 20]), + .io_out_c_8_0(out_output_1_0_payload_Some_0_d_0[8*20 +: 20]), + .io_out_c_9_0(out_output_1_0_payload_Some_0_d_0[9*20 +: 20]), + .io_out_c_10_0(out_output_1_0_payload_Some_0_d_0[10*20 +: 20]), + .io_out_c_11_0(out_output_1_0_payload_Some_0_d_0[11*20 +: 20]), + .io_out_c_12_0(out_output_1_0_payload_Some_0_d_0[12*20 +: 20]), + .io_out_c_13_0(out_output_1_0_payload_Some_0_d_0[13*20 +: 20]), + .io_out_c_14_0(out_output_1_0_payload_Some_0_d_0[14*20 +: 20]), + .io_out_c_15_0(out_output_1_0_payload_Some_0_d_0[15*20 +: 20]), .io_out_valid_0_0(io_out_valid_0_0), .io_out_control_0_0_dataflow(io_out_control_0_0_dataflow), diff --git a/scripts/gemmini/verilog_wrappers/TileBlackBox.v b/scripts/gemmini/verilog_wrappers/TileBlackBox.v index a7944d1..99f978e 100644 --- a/scripts/gemmini/verilog_wrappers/TileBlackBox.v +++ b/scripts/gemmini/verilog_wrappers/TileBlackBox.v @@ -22,11 +22,11 @@ module TileBlackBoxAdapter ( ); wire in_input_0_payload_discriminant; - wire [8-1:0] in_input_0_payload_Some_0_a; + wire [8-1:0] in_input_0_payload_Some_0_a_0; wire in_input_1_0_payload_discriminant; - wire [20-1:0] in_input_1_0_payload_Some_0_b; - wire [20-1:0] in_input_1_0_payload_Some_0_d; + wire [20-1:0] in_input_1_0_payload_Some_0_b_0; + wire [20-1:0] in_input_1_0_payload_Some_0_d_0; wire [3-1:0] in_input_1_1_payload_Some_0_id; wire in_input_1_1_payload_Some_0_last; @@ -36,11 +36,11 @@ module TileBlackBoxAdapter ( wire in_input_1_1_payload_Some_0_bad_dataflow; wire out_output_0_payload_discriminant; - wire [8-1:0] out_output_0_payload_Some_0_a; + wire [8-1:0] out_output_0_payload_Some_0_a_0; wire out_output_1_0_payload_discriminant; - wire [20-1:0] out_output_1_0_payload_Some_0_b; - wire [20-1:0] out_output_1_0_payload_Some_0_d; + wire [20-1:0] out_output_1_0_payload_Some_0_b_0; + wire [20-1:0] out_output_1_0_payload_Some_0_d_0; wire out_output_1_0_payload_discriminant; wire [3-1:0] out_output_1_1_payload_Some_0_id; @@ -57,11 +57,11 @@ module TileBlackBoxAdapter ( .rst(1'b0), .in_input_0_payload_discriminant(in_input_0_payload_discriminant), - .in_input_0_payload_Some_0_a(in_input_0_payload_Some_0_a), + .in_input_0_payload_Some_0_a_0(in_input_0_payload_Some_0_a_0), .in_input_1_0_payload_discriminant(in_input_1_0_payload_discriminant), - .in_input_1_0_payload_Some_0_b(in_input_1_0_payload_Some_0_b), - .in_input_1_0_payload_Some_0_d(in_input_1_0_payload_Some_0_d), + .in_input_1_0_payload_Some_0_b_0(in_input_1_0_payload_Some_0_b_0), + .in_input_1_0_payload_Some_0_d_0(in_input_1_0_payload_Some_0_d_0), .in_input_1_1_payload_discriminant(1'b1), .in_input_1_1_payload_Some_0_id(in_input_1_1_payload_Some_0_id), @@ -72,11 +72,11 @@ module TileBlackBoxAdapter ( .in_input_1_1_payload_Some_0_bad_dataflow(in_input_1_1_payload_Some_0_bad_dataflow), .out_output_0_payload_discriminant(out_output_0_payload_discriminant), - .out_output_0_payload_Some_0_a(out_output_0_payload_Some_0_a), + .out_output_0_payload_Some_0_a_0(out_output_0_payload_Some_0_a_0), .out_output_1_0_payload_discriminant(out_output_1_0_payload_discriminant), - .out_output_1_0_payload_Some_0_b(out_output_1_0_payload_Some_0_b), - .out_output_1_0_payload_Some_0_d(out_output_1_0_payload_Some_0_d), + .out_output_1_0_payload_Some_0_b_0(out_output_1_0_payload_Some_0_b_0), + .out_output_1_0_payload_Some_0_d_0(out_output_1_0_payload_Some_0_d_0), .out_output_1_1_payload_discriminant(out_output_1_1_payload_discriminant), .out_output_1_1_payload_Some_0_id(out_output_1_1_payload_Some_0_id), @@ -88,11 +88,11 @@ module TileBlackBoxAdapter ( ); assign in_input_0_payload_discriminant = io_in_valid_0; - assign in_input_0_payload_Some_0_a = io_in_a_0; + assign in_input_0_payload_Some_0_a_0 = io_in_a_0; assign in_input_1_0_payload_discriminant = io_in_valid_0; - assign in_input_1_0_payload_Some_0_b = io_in_b_0; - assign in_input_1_0_payload_Some_0_d = io_in_d_0; + assign in_input_1_0_payload_Some_0_b_0 = io_in_b_0; + assign in_input_1_0_payload_Some_0_d_0 = io_in_d_0; assign in_input_1_1_payload_Some_0_id = io_in_id_0; assign in_input_1_1_payload_Some_0_last = io_in_last_0; @@ -101,11 +101,11 @@ module TileBlackBoxAdapter ( assign in_input_1_1_payload_Some_0_control_shift = io_in_control_0_shift; assign in_input_1_1_payload_Some_0_bad_dataflow = 1'b0; - assign io_out_a_0 = out_output_0_payload_Some_0_a; + assign io_out_a_0 = out_output_0_payload_Some_0_a_0; assign io_out_valid_0 = out_output_0_payload_discriminant && out_output_1_0_payload_discriminant; - assign io_out_b_0 = out_output_1_0_payload_Some_0_b; - assign io_out_c_0 = out_output_1_0_payload_Some_0_d; + assign io_out_b_0 = out_output_1_0_payload_Some_0_b_0; + assign io_out_c_0 = out_output_1_0_payload_Some_0_d_0; assign io_out_id_0 = out_output_1_1_payload_Some_0_id; assign io_out_last_0 = out_output_1_1_payload_Some_0_last;