data/full_repos/permissive/213289758/f-iSLIP/thermometer_peer.v
data/verilator_xmls/88a68487-c649-4c26-82d3-67b8721a5c36.xml
module thermometer_peer#(
parameter N = 32
)(
input  [N - 1 : 0] in_point,
output [N - 1 : 0] out_code
);
assign out_code[N - 1] = 1'b0;
generate
   genvar i;
   for(i = 0; i < N - 1; i = i + 1) begin:spe_mask
      assign out_code[i] = | in_point[N - 1 : i + 1];
   end
endgenerate
endmodule
module thermometer_peer#(
parameter N = 32
)(
input  [N - 1 : 0] in_point,
output [N - 1 : 0] out_code
);

assign out_code[N - 1] = 1'b0;
generate
   genvar i;
   for(i = 0; i < N - 1; i = i + 1) begin:spe_mask
      assign out_code[i] = | in_point[N - 1 : i + 1];
   end
endgenerate
endmodule