data/full_repos/permissive/210250459/src/mul.v
1: b'%Error: data/full_repos/permissive/210250459/src/mul.v:6: Cannot find include file: config.v\n`include "config.v" \n         ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/210250459/src,data/full_repos/permissive/210250459/config.v\n             data/full_repos/permissive/210250459/src,data/full_repos/permissive/210250459/config.v.v\n             data/full_repos/permissive/210250459/src,data/full_repos/permissive/210250459/config.v.sv\n             config.v\n             config.v.v\n             config.v.sv\n             obj_dir/config.v\n             obj_dir/config.v.v\n             obj_dir/config.v.sv\n%Error: Exiting due to 1 error(s)\n'
module Mul32(prod, a, b);

output reg [63:0] prod;
input [31:0] a, b;

integer i;
always @(a or b) begin
    prod[63:32] = 0;
    prod[31:0] = b;

    for (i = 0; i < 32; i = i + 1) begin
        prod[63:32] = (prod[0] & 1'b1) ? prod[63:32] + a : prod[63:32];
        prod = prod >> 1;
    end
end

endmodule
module Mul32(prod, a, b);


output reg [63:0] prod;
input [31:0] a, b;

integer i;
always @(a or b) begin
    prod[63:32] = 0;
    prod[31:0] = b;

    for (i = 0; i < 32; i = i + 1) begin
        prod[63:32] = (prod[0] & 1'b1) ? prod[63:32] + a : prod[63:32];
        prod = prod >> 1;
    end
end

endmodule