data/full_repos/permissive/121864698/Multiplexors.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/121864698/Multiplexors.v:23: 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 \'Mux1\'\nmodule Mux1(a,b,sel,c);\n       ^~~~\n                                                                         : ... Top module \'Mux2\'\nmodule Mux2(a,b,sel,c);\n       ^~~~\n                                                                         : ... Top module \'Mux3\'\nmodule Mux3(a,b,sel,c);\n       ^~~~\n%Error: Exiting due to 1 warning(s)\n'
module Mux2(a,b,sel,c);
input [7:0] a,b;
input [1:0]sel;
output reg [7:0]c;
always @(*)begin
if(sel==2'b0)
c = a;
else if(sel==2'b01)
c = b;
else if(sel==2'b10)
c = 8'b0;
end
endmodule
module Mux2(a,b,sel,c);

input [7:0] a,b;
input [1:0]sel;
output reg [7:0]c;
always @(*)begin
if(sel==2'b0)
c = a;
else if(sel==2'b01)
c = b;
else if(sel==2'b10)
c = 8'b0;
end
endmodule