data/full_repos/permissive/427221126/workspace/vector_mult.sv
1: b"%Error: data/full_repos/permissive/427221126/workspace/vector_mult.sv:47: Cannot find file containing module: 'mult_booth'\nmult_booth booth_0\n^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/427221126/workspace,data/full_repos/permissive/427221126/mult_booth\n             data/full_repos/permissive/427221126/workspace,data/full_repos/permissive/427221126/mult_booth.v\n             data/full_repos/permissive/427221126/workspace,data/full_repos/permissive/427221126/mult_booth.sv\n             mult_booth\n             mult_booth.v\n             mult_booth.sv\n             obj_dir/mult_booth\n             obj_dir/mult_booth.v\n             obj_dir/mult_booth.sv\n%Error: Exiting due to 1 error(s)\n"
module vector_mult
(
input  [15:0] A[0:2],
input  [15:0] B[0:2],
output  [15:0] RES     
);
reg  [15:0] a_3   [0:2];
reg  [15:0] b_3   [0:2];
reg  [15:0] psum   [0:2];


always @(*)begin
 a_3[0] = A[0] ;
 a_3[1] = A[1] ;
 a_3[2] = A[2] ;
 b_3[0] = B[0] ;
 b_3[1] = B[1] ;
 b_3[2] = B[2] ;
end

genvar i;

generate
    for(i = 0; i < 3; i = i + 1) begin
        mult m1(.a(a_3[i]),.b(b_3[i]),.res(psum[i]));
    end
endgenerate

assign RES = psum[0] + psum[1] + psum[2];
endmodule
module vector_mult
(
input  [15:0] A[0:2],
input  [15:0] B[0:2],
output  [15:0] RES     
);

reg  [15:0] a_3   [0:2];
reg  [15:0] b_3   [0:2];
reg  [15:0] psum   [0:2];


always @(*)begin
 a_3[0] = A[0] ;
 a_3[1] = A[1] ;
 a_3[2] = A[2] ;
 b_3[0] = B[0] ;
 b_3[1] = B[1] ;
 b_3[2] = B[2] ;
end

genvar i;

generate
    for(i = 0; i < 3; i = i + 1) begin
        mult m1(.a(a_3[i]),.b(b_3[i]),.res(psum[i]));
    end
endgenerate

assign RES = psum[0] + psum[1] + psum[2];
endmodule