data/full_repos/permissive/446997925/hw3/mux.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/446997925/hw3/mux.v:18: 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_2_to_1\'\nmodule mux_2_to_1(a , b , sel, out );\n       ^~~~~~~~~~\n                                                                    : ... Top module \'mux_2_to_1_32bit\'\nmodule mux_2_to_1_32bit(a [31:0], b [31:0], sel, out [31:0]);\n       ^~~~~~~~~~~~~~~~\n                                                                    : ... Top module \'mux_2_to_1_5bit\'\nmodule mux_2_to_1_5bit(a [4:0], b [4:0], sel, out [4:0]);\n       ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/446997925/hw3/mux.v:52: Cannot find file containing module: \'and_4\'\nand_4 first(or1[4:1], b[4:1], sel32[4:1]);\n^~~~~\n        ... Looked in:\n             data/full_repos/permissive/446997925/hw3,data/full_repos/permissive/446997925/and_4\n             data/full_repos/permissive/446997925/hw3,data/full_repos/permissive/446997925/and_4.v\n             data/full_repos/permissive/446997925/hw3,data/full_repos/permissive/446997925/and_4.sv\n             and_4\n             and_4.v\n             and_4.sv\n             obj_dir/and_4\n             obj_dir/and_4.v\n             obj_dir/and_4.sv\n%Error: data/full_repos/permissive/446997925/hw3/mux.v:54: Cannot find file containing module: \'and_4\'\nand_4 second(or2[4:1], a[4:1], sel_not32[4:1]);\n^~~~~\n%Error: data/full_repos/permissive/446997925/hw3/mux.v:56: Cannot find file containing module: \'or_4\'\nor_4 or_gate(out[4:1], or1[4:1], or2[4:1]);\n^~~~\n%Error: data/full_repos/permissive/446997925/hw3/mux.v:32: Cannot find file containing module: \'and_32\'\nand_32 first(or1[31:0], b[31:0], sel32 [31:0]);\n^~~~~~\n%Error: data/full_repos/permissive/446997925/hw3/mux.v:33: Cannot find file containing module: \'and_32\'\nand_32 second(or2[31:0], a[31:0], sel_not32 [31:0]);\n^~~~~~\n%Error: data/full_repos/permissive/446997925/hw3/mux.v:34: Cannot find file containing module: \'or_32\'\nor_32 or_gate(out[31:0], or1[31:0], or2[31:0]);\n^~~~~\n%Error: Exiting due to 6 error(s), 1 warning(s)\n'
module mux_2_to_1(a , b , sel, out );

input a, b;
input sel;
output out;

wire or1, or2;
wire sel_not;

not(sel_not, sel);

and first(or1, b, sel);
and second(or2, a, sel_not);
or or_gate(out, or1, or2);

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


input a, b;
input sel;
output out;

wire or1, or2;
wire sel_not;

not(sel_not, sel);

and first(or1, b, sel);
and second(or2, a, sel_not);
or or_gate(out, or1, or2);

endmodule