data/full_repos/permissive/469273213/multiplier/rtl/boothPPCal.v
1: b"%Error: data/full_repos/permissive/469273213/multiplier/rtl/boothPPCal.v:24: Cannot find file containing module: 'boothEnc'\n    boothEnc bEnc (\n    ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/469273213/multiplier/rtl,data/full_repos/permissive/469273213/boothEnc\n             data/full_repos/permissive/469273213/multiplier/rtl,data/full_repos/permissive/469273213/boothEnc.v\n             data/full_repos/permissive/469273213/multiplier/rtl,data/full_repos/permissive/469273213/boothEnc.sv\n             boothEnc\n             boothEnc.v\n             boothEnc.sv\n             obj_dir/boothEnc\n             obj_dir/boothEnc.v\n             obj_dir/boothEnc.sv\n%Error: data/full_repos/permissive/469273213/multiplier/rtl/boothPPCal.v:26: Cannot find file containing module: 'boothSel'\n    boothSel #(.WIDTH(WIDTH)) bSel (\n    ^~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module boothPPCal #(parameter WIDTH = 16) (
    input wire  [WIDTH:0]   pp,
    input wire  [WIDTH:0]   pp_n,
    input wire  [WIDTH:0]   pp_2,
    input wire  [WIDTH:0]   pp_2n,
    input wire  [WIDTH:0]   pp_zero,
    input wire  [2:0]       booth,
    output wire comp,
    output wire [WIDTH:0]   out
);

    wire single_pp, double_pp, neg_pp;

    boothEnc bEnc (
        .in(booth), .single(single_pp), .double(double_pp), .neg(neg_pp) );
    boothSel #(.WIDTH(WIDTH)) bSel (
        .single(single_pp), .double(double_pp), .neg(neg_pp), .in(pp),
        .in_n(pp_n), .in_2(pp_2), .in_2n(pp_2n), .zero(pp_zero), .out(out) );
    
    assign comp = neg_pp & (single_pp | double_pp); 

endmodule
module boothPPCal #(parameter WIDTH = 16) (
    input wire  [WIDTH:0]   pp,
    input wire  [WIDTH:0]   pp_n,
    input wire  [WIDTH:0]   pp_2,
    input wire  [WIDTH:0]   pp_2n,
    input wire  [WIDTH:0]   pp_zero,
    input wire  [2:0]       booth,
    output wire comp,
    output wire [WIDTH:0]   out
);


    wire single_pp, double_pp, neg_pp;

    boothEnc bEnc (
        .in(booth), .single(single_pp), .double(double_pp), .neg(neg_pp) );
    boothSel #(.WIDTH(WIDTH)) bSel (
        .single(single_pp), .double(double_pp), .neg(neg_pp), .in(pp),
        .in_n(pp_n), .in_2(pp_2), .in_2n(pp_2n), .zero(pp_zero), .out(out) );
    
    assign comp = neg_pp & (single_pp | double_pp); 

endmodule