data/full_repos/permissive/174242803/datapath/src/mux.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/174242803/datapath/src/mux.v:14: 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 \'mux\'\nmodule mux(input [7:0] a, \n       ^~~\n                                                                             : ... Top module \'mux_smallData\'\nmodule mux_smallData(input [2:0] a, \n       ^~~~~~~~~~~~~\n                                                                             : ... Top module \'mux4\'\nmodule mux4(input [7:0] a,\n       ^~~~\n%Error: Exiting due to 1 warning(s)\n'
module mux4(input [7:0] a,
	    input [7:0] b,
	    input [7:0] c,
	    input [7:0] d,
	    input [1:0] sel,
	    output reg [7:0] out);

   always @ (*) begin
      case (sel)
	2'b00: out <= a;
	2'b01: out <= b;
	2'b10: out <= c;
	2'b11: out <= d;
	default: out <= out;
      endcase
   end

endmodule
module mux4(input [7:0] a,
	    input [7:0] b,
	    input [7:0] c,
	    input [7:0] d,
	    input [1:0] sel,
	    output reg [7:0] out);


   always @ (*) begin
      case (sel)
	2'b00: out <= a;
	2'b01: out <= b;
	2'b10: out <= c;
	2'b11: out <= d;
	default: out <= out;
      endcase
   end

endmodule