data/full_repos/permissive/140493787/src/hdl/mux.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/140493787/src/hdl/mux.v:40: 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 \'bus_mux_2_1\'\nmodule bus_mux_2_1 #(parameter WIDTH = 64) (\n       ^~~~~~~~~~~\n                                                                        : ... Top module \'mux_4_1\'\nmodule mux_4_1 (\n       ^~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module mux_4_1 (
   output wire       out,
   input  wire [3:0] in,
   input  wire [1:0] sel
);

   wire [1:0] seln;
   not n0 (seln[0], sel[0]);
   not n1 (seln[1], sel[1]);

   wire out0, out1, out2, out3;
   and a0 (out0, in[0], seln[1], seln[0]);
   and a1 (out1, in[1], seln[1], sel[0]);
   and a2 (out2, in[2], sel[1],  seln[0]);
   and a3 (out3, in[3], sel[1],  sel[0]);

   or o (out, out0, out1, out2, out3);
endmodule
module mux_4_1 (
   output wire       out,
   input  wire [3:0] in,
   input  wire [1:0] sel
);


   wire [1:0] seln;
   not n0 (seln[0], sel[0]);
   not n1 (seln[1], sel[1]);

   wire out0, out1, out2, out3;
   and a0 (out0, in[0], seln[1], seln[0]);
   and a1 (out1, in[1], seln[1], sel[0]);
   and a2 (out2, in[2], sel[1],  seln[0]);
   and a3 (out3, in[3], sel[1],  sel[0]);

   or o (out, out0, out1, out2, out3);
endmodule