data/full_repos/permissive/446997925/hw4/MUX_2.v
1: b'%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw4/MUX_2.v:8: Signal definition not found, creating implicitly: \'sel_and_b\'\n                                                                     : ... Suggested alternative: \'sel_and_a\'\nand and1(sel_and_b, sel, b);\n         ^~~~~~~~~\n                   ... Use "/* verilator lint_off IMPLICIT */" and lint_on around source to disable this message.\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw4/MUX_2.v:9: Signal definition not found, creating implicitly: \'not_sel_and_a\'\n                                                                     : ... Suggested alternative: \'not_sel_and_b\'\nand and2(not_sel_and_a, not_sel, a);\n         ^~~~~~~~~~~~~\n%Error: Exiting due to 2 warning(s)\n'
module MUX_2(out, a, b, sel);

input a, b, sel;
output out;
wire not_sel, sel_and_a, not_sel_and_b;

not 	not1(not_sel, sel);
and	and1(sel_and_b, sel, b);
and	and2(not_sel_and_a, not_sel, a);
or		or1(out, sel_and_b, not_sel_and_a);

endmodule
module MUX_2(out, a, b, sel);


input a, b, sel;
output out;
wire not_sel, sel_and_a, not_sel_and_b;

not 	not1(not_sel, sel);
and	and1(sel_and_b, sel, b);
and	and2(not_sel_and_a, not_sel, a);
or		or1(out, sel_and_b, not_sel_and_a);

endmodule