data/full_repos/permissive/486216880/Encoders.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/486216880/Encoders.v:21: Multiple top level modules\n                                                                     : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                     : ... Top module \'Encoder_4\'\nmodule Encoder_4 (\n       ^~~~~~~~~\n                                                                     : ... Top module \'Encoder_8\'\nmodule Encoder_8 (\n       ^~~~~~~~~\n                                                                     : ... Top module \'Encoder_16\'\nmodule Encoder_16 (\n       ^~~~~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module Encoder_4 (
    input [3:0] input_i,
    output reg [1:0] output_o
  );
  initial begin
    output_o = 0;
  end

  always @(input_i) begin
    casex (input_i)
      4'b1xxx : output_o = 3;
      4'b01xx : output_o = 2;
      4'b001x : output_o = 1;
      4'b0001 : output_o = 0;
      4'b0000 : output_o = 0;
      default: output_o = 0;
    endcase
  end
endmodule
module Encoder_4 (
    input [3:0] input_i,
    output reg [1:0] output_o
  );

  initial begin
    output_o = 0;
  end

  always @(input_i) begin
    casex (input_i)
      4'b1xxx : output_o = 3;
      4'b01xx : output_o = 2;
      4'b001x : output_o = 1;
      4'b0001 : output_o = 0;
      4'b0000 : output_o = 0;
      default: output_o = 0;
    endcase
  end
endmodule