data/full_repos/permissive/486812922/src/mux.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/486812922/src/mux.v:11: 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 \'mux2\'\nmodule mux2 (d0, d1, s, y);\n       ^~~~\n                                                                    : ... Top module \'mux4\'\nmodule mux4 (d0, d1, d2, d3, s, y);\n       ^~~~\n%Error: Exiting due to 1 warning(s)\n'
module mux4 (d0, d1, d2, d3, s, y);
input [31: 0] d0, d1, d2, d3;
input [1: 0] s;
output [31: 0] y;

assign y = ( s[1] == 1'b1 ) ?
       ((s[0] == 1'b1) ? d3 : d2) :
       ((s[0] == 1'b1) ? d1 : d0);
endmodule
module mux4 (d0, d1, d2, d3, s, y);

input [31: 0] d0, d1, d2, d3;
input [1: 0] s;
output [31: 0] y;

assign y = ( s[1] == 1'b1 ) ?
       ((s[0] == 1'b1) ? d3 : d2) :
       ((s[0] == 1'b1) ? d1 : d0);
endmodule