data/full_repos/permissive/213289758/f-iSLIP/program_priority_encoder_v1_0.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b"%Error: data/full_repos/permissive/213289758/f-iSLIP/program_priority_encoder_v1_0.v:33: Cannot find file containing module: 'thermometer_peer'\nthermometer_peer#(\n^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/213289758/f-iSLIP,data/full_repos/permissive/213289758/thermometer_peer\n             data/full_repos/permissive/213289758/f-iSLIP,data/full_repos/permissive/213289758/thermometer_peer.v\n             data/full_repos/permissive/213289758/f-iSLIP,data/full_repos/permissive/213289758/thermometer_peer.sv\n             thermometer_peer\n             thermometer_peer.v\n             thermometer_peer.sv\n             obj_dir/thermometer_peer\n             obj_dir/thermometer_peer.v\n             obj_dir/thermometer_peer.sv\n%Error: data/full_repos/permissive/213289758/f-iSLIP/program_priority_encoder_v1_0.v:41: Cannot find file containing module: 'simple_priority_encoder'\nsimple_priority_encoder #(\n^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/213289758/f-iSLIP/program_priority_encoder_v1_0.v:47: Cannot find file containing module: 'simple_priority_encoder'\nsimple_priority_encoder #(\n^~~~~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module program_priority_encoder_v1_0#(
parameter N = 32
)(
input  [N - 1 : 0] in_p_enc,
input  [N - 1 : 0] in_req,
output [N - 1 : 0] out_grant
);
wire [N - 1 : 0] p_therm;
wire [N - 1 : 0] new_req;
wire anygnt_thermo;
wire [N - 1 : 0] gnt_thermo;
wire [N - 1 : 0] gnt_smpl;
thermometer_peer#(
.N (N)
) tp_u (
 .in_point (in_p_enc),
 .out_code (p_therm)
);
assign new_req = (~p_therm) & in_req;
assign anygnt_thermo = | new_req;
simple_priority_encoder #(
.N (N)
) spe_thermo (
.in_request (new_req),
.out_grant (gnt_thermo)
);
simple_priority_encoder #(
.N (N)
) spe_u (
.in_request (in_req),
.out_grant (gnt_smpl)
);
generate
   genvar i;
   for(i = 0; i < N; i = i + 1) begin:mux_req
       assign out_grant[i] = gnt_thermo[i] | ((~anygnt_thermo) & gnt_smpl[i]);
   end
endgenerate
endmodule
module program_priority_encoder_v1_0#(
parameter N = 32
)(
input  [N - 1 : 0] in_p_enc,
input  [N - 1 : 0] in_req,
output [N - 1 : 0] out_grant
);

wire [N - 1 : 0] p_therm;
wire [N - 1 : 0] new_req;
wire anygnt_thermo;
wire [N - 1 : 0] gnt_thermo;
wire [N - 1 : 0] gnt_smpl;
thermometer_peer#(
.N (N)
) tp_u (
 .in_point (in_p_enc),
 .out_code (p_therm)
);
assign new_req = (~p_therm) & in_req;
assign anygnt_thermo = | new_req;
simple_priority_encoder #(
.N (N)
) spe_thermo (
.in_request (new_req),
.out_grant (gnt_thermo)
);
simple_priority_encoder #(
.N (N)
) spe_u (
.in_request (in_req),
.out_grant (gnt_smpl)
);
generate
   genvar i;
   for(i = 0; i < N; i = i + 1) begin:mux_req
       assign out_grant[i] = gnt_thermo[i] | ((~anygnt_thermo) & gnt_smpl[i]);
   end
endgenerate
endmodule