data/full_repos/permissive/207835546/Multiplexer/Mux_struc/mux_str.v
1: b'%Warning-IMPLICIT: data/full_repos/permissive/207835546/Multiplexer/Mux_struc/mux_str.v:28: Signal definition not found, creating implicitly: \'mux_1\'\n                                                                                          : ... Suggested alternative: \'mux\'\n mux4to1 m1 (a[7:4],sel[1:0],mux_1),\n                             ^~~~~\n                   ... Use "/* verilator lint_off IMPLICIT */" and lint_on around source to disable this message.\n%Warning-IMPLICIT: data/full_repos/permissive/207835546/Multiplexer/Mux_struc/mux_str.v:29: Signal definition not found, creating implicitly: \'mux_2\'\n                                                                                          : ... Suggested alternative: \'mux_1\'\n         m2 (a[3:0],sel[1:0],mux_2);\n                             ^~~~~\n%Warning-SELRANGE: data/full_repos/permissive/207835546/Multiplexer/Mux_struc/mux_str.v:17: Selection index out of range: 4:4 outside 3:0\n                                                                                          : ... In instance mux_str.m2\n         m2 (a[1],a[4],sel[0],mux[1]),\n                   ^\n%Error: Exiting due to 3 warning(s)\n'
module mux_str(a,sel,out);
	input [7:0] a;
	input [2:0] sel;
	output out;

	wire mux[2:0];

	mux4to1 m1 (a[7:4],sel[1:0],mux_1),
	        m2 (a[3:0],sel[1:0],mux_2);
	mux2to1 m3 (mux_1,mux_2,sel[2],out);
endmodule
module mux_str(a,sel,out);

	input [7:0] a;
	input [2:0] sel;
	output out;

	wire mux[2:0];

	mux4to1 m1 (a[7:4],sel[1:0],mux_1),
	        m2 (a[3:0],sel[1:0],mux_2);
	mux2to1 m3 (mux_1,mux_2,sel[2],out);
endmodule