data/full_repos/permissive/469273213/multiplier/rtl/multiplication.v
1: b"%Error: data/full_repos/permissive/469273213/multiplier/rtl/multiplication.v:19: Cannot find file containing module: 'adder'\n    adder #(.WIDTH(32), .CWIDTH(9)) add32 (.in_a(p0), .in_b(p1), .c_in(1'b0), .c_out(discard_booth_carry), .s(prod));\n    ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/469273213/multiplier/rtl,data/full_repos/permissive/469273213/adder\n             data/full_repos/permissive/469273213/multiplier/rtl,data/full_repos/permissive/469273213/adder.v\n             data/full_repos/permissive/469273213/multiplier/rtl,data/full_repos/permissive/469273213/adder.sv\n             adder\n             adder.v\n             adder.sv\n             obj_dir/adder\n             obj_dir/adder.v\n             obj_dir/adder.sv\n%Error: data/full_repos/permissive/469273213/multiplier/rtl/multiplication.v:22: Cannot find file containing module: 'multiplier16Booth'\n    multiplier16Booth #(.WIDTH(16)) mul16 (.multiplicand(in_a), .multiplier(in_b), .p0(p0), .p1(p1));\n    ^~~~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module multiplication (
    input wire  [15:0]  in_a, in_b,
    output wire [31:0]  prod
);

    wire [31:0] p0, p1;
    wire    discard_booth_carry;

    adder #(.WIDTH(32), .CWIDTH(9)) add32 (.in_a(p0), .in_b(p1), .c_in(1'b0), .c_out(discard_booth_carry), .s(prod));


    multiplier16Booth #(.WIDTH(16)) mul16 (.multiplicand(in_a), .multiplier(in_b), .p0(p0), .p1(p1));
    
endmodule
module multiplication (
    input wire  [15:0]  in_a, in_b,
    output wire [31:0]  prod
);


    wire [31:0] p0, p1;
    wire    discard_booth_carry;

    adder #(.WIDTH(32), .CWIDTH(9)) add32 (.in_a(p0), .in_b(p1), .c_in(1'b0), .c_out(discard_booth_carry), .s(prod));


    multiplier16Booth #(.WIDTH(16)) mul16 (.multiplicand(in_a), .multiplier(in_b), .p0(p0), .p1(p1));
    
endmodule