data/full_repos/permissive/170041316/hw3_1/mux_4_1.v
1: b"%Error: data/full_repos/permissive/170041316/hw3_1/mux_4_1.v:14: Cannot find file containing module: 'mux_2_1'\n    mux_2_1 bit_1_is_0(.InA(InA), .InB(InB), .S(S[0]), .Out(in_bit0));\n    ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/170041316/hw3_1,data/full_repos/permissive/170041316/mux_2_1\n             data/full_repos/permissive/170041316/hw3_1,data/full_repos/permissive/170041316/mux_2_1.v\n             data/full_repos/permissive/170041316/hw3_1,data/full_repos/permissive/170041316/mux_2_1.sv\n             mux_2_1\n             mux_2_1.v\n             mux_2_1.sv\n             obj_dir/mux_2_1\n             obj_dir/mux_2_1.v\n             obj_dir/mux_2_1.sv\n%Error: data/full_repos/permissive/170041316/hw3_1/mux_4_1.v:15: Cannot find file containing module: 'mux_2_1'\n    mux_2_1 bit_1_is_1(.InA(InC), .InB(InD), .S(S[0]), .Out(in_bit1));\n    ^~~~~~~\n%Error: data/full_repos/permissive/170041316/hw3_1/mux_4_1.v:16: Cannot find file containing module: 'mux_2_1'\n    mux_2_1 bit_1(.InA(in_bit0), .InB(in_bit1), .S(S[1]), .Out(Out));\n    ^~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module mux_4_1(InA, InB, InC, InD, S, Out);
    input        InA, InB, InC, InD;
    input [1:0]  S;
    output       Out;


    wire in_bit0, in_bit1;
    mux_2_1 bit_1_is_0(.InA(InA), .InB(InB), .S(S[0]), .Out(in_bit0));
    mux_2_1 bit_1_is_1(.InA(InC), .InB(InD), .S(S[0]), .Out(in_bit1));
    mux_2_1 bit_1(.InA(in_bit0), .InB(in_bit1), .S(S[1]), .Out(Out));
endmodule
module mux_4_1(InA, InB, InC, InD, S, Out);

    input        InA, InB, InC, InD;
    input [1:0]  S;
    output       Out;


    wire in_bit0, in_bit1;
    mux_2_1 bit_1_is_0(.InA(InA), .InB(InB), .S(S[0]), .Out(in_bit0));
    mux_2_1 bit_1_is_1(.InA(InC), .InB(InD), .S(S[0]), .Out(in_bit1));
    mux_2_1 bit_1(.InA(in_bit0), .InB(in_bit1), .S(S[1]), .Out(Out));
endmodule