data/full_repos/permissive/170405117/hw3_1/mux4_1.v
1: b"%Error: data/full_repos/permissive/170405117/hw3_1/mux4_1.v:18: Cannot find file containing module: 'mux2_1'\n    mux2_1 mAB(.InA(InA), .InB(InB), .S(S[0]), .Out(wAB));\n    ^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/170405117/hw3_1,data/full_repos/permissive/170405117/mux2_1\n             data/full_repos/permissive/170405117/hw3_1,data/full_repos/permissive/170405117/mux2_1.v\n             data/full_repos/permissive/170405117/hw3_1,data/full_repos/permissive/170405117/mux2_1.sv\n             mux2_1\n             mux2_1.v\n             mux2_1.sv\n             obj_dir/mux2_1\n             obj_dir/mux2_1.v\n             obj_dir/mux2_1.sv\n%Error: data/full_repos/permissive/170405117/hw3_1/mux4_1.v:19: Cannot find file containing module: 'mux2_1'\n    mux2_1 mCD(.InA(InC), .InB(InD), .S(S[0]), .Out(wCD));\n    ^~~~~~\n%Error: data/full_repos/permissive/170405117/hw3_1/mux4_1.v:20: Cannot find file containing module: 'mux2_1'\n    mux2_1 mOUT(.InA(wAB), .InB(wCD), .S(S[1]), .Out(Out));\n    ^~~~~~\n%Error: Exiting due to 3 error(s)\n"
module mux4_1(InA, InB, InC, InD, S, Out);
    input        InA, InB, InC, InD;
    input [1:0]  S;
    output       Out;
    wire         wAB, wCD;


    mux2_1 mAB(.InA(InA), .InB(InB), .S(S[0]), .Out(wAB));
    mux2_1 mCD(.InA(InC), .InB(InD), .S(S[0]), .Out(wCD));
    mux2_1 mOUT(.InA(wAB), .InB(wCD), .S(S[1]), .Out(Out));

endmodule
module mux4_1(InA, InB, InC, InD, S, Out);

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


    mux2_1 mAB(.InA(InA), .InB(InB), .S(S[0]), .Out(wAB));
    mux2_1 mCD(.InA(InC), .InB(InD), .S(S[0]), .Out(wCD));
    mux2_1 mOUT(.InA(wAB), .InB(wCD), .S(S[1]), .Out(Out));

endmodule