data/full_repos/permissive/213289758/f-iSLIP/select_request.v
1: b"%Error: data/full_repos/permissive/213289758/f-iSLIP/select_request.v:40: Cannot find file containing module: 'simple_priority_encoder'\n      simple_priority_encoder #(\n      ^~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/213289758/f-iSLIP,data/full_repos/permissive/213289758/simple_priority_encoder\n             data/full_repos/permissive/213289758/f-iSLIP,data/full_repos/permissive/213289758/simple_priority_encoder.v\n             data/full_repos/permissive/213289758/f-iSLIP,data/full_repos/permissive/213289758/simple_priority_encoder.sv\n             simple_priority_encoder\n             simple_priority_encoder.v\n             simple_priority_encoder.sv\n             obj_dir/simple_priority_encoder\n             obj_dir/simple_priority_encoder.v\n             obj_dir/simple_priority_encoder.sv\n%Error: Exiting due to 1 error(s)\n"
module select_request#(
parameter N = 25,
parameter P = 8
)(
input  [P * N - 1 : 0] i_request,
output [P * N - 1 : 0] o_request
);
wire [P - 1 : 0] request [N - 1 : 0];
wire [P - 1 : 0] gnt_smpl [N - 1 : 0];
generate
   genvar i,j;
   for(i = 0; i < N; i = i + 1) begin:trans_req
      for(j = 0; j < P; j = j + 1) begin:sub_trans_req
         assign request[i][P - 1 - j] = i_request[j * N + i];
         assign o_request[j * N + i] = gnt_smpl[i][P - 1 - j];
      end
   end
   for(i = 0; i < N; i = i + 1) begin:sel_pri
      simple_priority_encoder #(
      .N (P)
      ) spe_u (
      .in_request (request[i]),
      .out_grant (gnt_smpl[i])
      );
   end
endgenerate
endmodule
module select_request#(
parameter N = 25,
parameter P = 8
)(
input  [P * N - 1 : 0] i_request,
output [P * N - 1 : 0] o_request
);

wire [P - 1 : 0] request [N - 1 : 0];
wire [P - 1 : 0] gnt_smpl [N - 1 : 0];
generate
   genvar i,j;
   for(i = 0; i < N; i = i + 1) begin:trans_req
      for(j = 0; j < P; j = j + 1) begin:sub_trans_req
         assign request[i][P - 1 - j] = i_request[j * N + i];
         assign o_request[j * N + i] = gnt_smpl[i][P - 1 - j];
      end
   end
   for(i = 0; i < N; i = i + 1) begin:sel_pri
      simple_priority_encoder #(
      .N (P)
      ) spe_u (
      .in_request (request[i]),
      .out_grant (gnt_smpl[i])
      );
   end
endgenerate
endmodule