data/full_repos/permissive/467394306/rtl/pe_lin_gen.sv
1: b"%Error: data/full_repos/permissive/467394306/rtl/pe_lin_gen.sv:15: Cannot find file containing module: 'PE'\n    PE PE00 (.clk(clk), .rstn(rstn), .fire(fire), \n    ^~\n        ... Looked in:\n             data/full_repos/permissive/467394306/rtl,data/full_repos/permissive/467394306/PE\n             data/full_repos/permissive/467394306/rtl,data/full_repos/permissive/467394306/PE.v\n             data/full_repos/permissive/467394306/rtl,data/full_repos/permissive/467394306/PE.sv\n             PE\n             PE.v\n             PE.sv\n             obj_dir/PE\n             obj_dir/PE.v\n             obj_dir/PE.sv\n%Error: data/full_repos/permissive/467394306/rtl/pe_lin_gen.sv:22: Cannot find file containing module: 'PE'\n           PE PE0 (.clk(clk), .rstn(rstn), .fire(fo0[i-1]),\n           ^~\n%Error: Exiting due to 2 error(s)\n"
module PE_Lin_gen(
    input clk,
    input rstn,
    input fire,
    input[7:0] in_w [0:3],
    input[7:0] in_a,
    output [11:0] outs [0:3]);

    wire fo0 [0:3];
    wire[7:0] ao0 [0:3];
    wire[11:0] o0 [0:3];

    assign outs = o0;

    PE PE00 (.clk(clk), .rstn(rstn), .fire(fire), 
                .in_w(in_w[0]), .in_a(in_a), 
                .out_f(fo0[0]), .out_a(ao0[0]), .out(o0[0]));
    
    genvar i;
    generate
        for (i=1; i<4; i=i+1) begin
           PE PE0 (.clk(clk), .rstn(rstn), .fire(fo0[i-1]),
               .in_w(in_w[i]), .in_a(ao0[i-1]), 
               .out_f(fo0[i]), .out_a(ao0[i]), .out(o0[i]));
        end
    endgenerate

endmodule
module PE_Lin_gen(
    input clk,
    input rstn,
    input fire,
    input[7:0] in_w [0:3],
    input[7:0] in_a,
    output [11:0] outs [0:3]);


    wire fo0 [0:3];
    wire[7:0] ao0 [0:3];
    wire[11:0] o0 [0:3];

    assign outs = o0;

    PE PE00 (.clk(clk), .rstn(rstn), .fire(fire), 
                .in_w(in_w[0]), .in_a(in_a), 
                .out_f(fo0[0]), .out_a(ao0[0]), .out(o0[0]));
    
    genvar i;
    generate
        for (i=1; i<4; i=i+1) begin
           PE PE0 (.clk(clk), .rstn(rstn), .fire(fo0[i-1]),
               .in_w(in_w[i]), .in_a(ao0[i-1]), 
               .out_f(fo0[i]), .out_a(ao0[i]), .out(o0[i]));
        end
    endgenerate

endmodule