data/full_repos/permissive/170210550/hw3_1/mux4_1.v
1: b"%Error: data/full_repos/permissive/170210550/hw3_1/mux4_1.v:15: Cannot find file containing module: 'mux2_1'\n    mux2_1 mux_ab (.Out(A_B), .InA(InA), .InB(InB), .S(S[0]));\n    ^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/170210550/hw3_1,data/full_repos/permissive/170210550/mux2_1\n             data/full_repos/permissive/170210550/hw3_1,data/full_repos/permissive/170210550/mux2_1.v\n             data/full_repos/permissive/170210550/hw3_1,data/full_repos/permissive/170210550/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/170210550/hw3_1/mux4_1.v:16: Cannot find file containing module: 'mux2_1'\n    mux2_1 mux_cd (.Out(C_D), .InA(InC), .InB(InD), .S(S[0]));\n    ^~~~~~\n%Error: data/full_repos/permissive/170210550/hw3_1/mux4_1.v:18: Cannot find file containing module: 'mux2_1'\n    mux2_1 mux_out (.Out(Out), .InA(A_B), .InB(C_D), .S(S[1]));\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 A_B, C_D;

    mux2_1 mux_ab (.Out(A_B), .InA(InA), .InB(InB), .S(S[0]));
    mux2_1 mux_cd (.Out(C_D), .InA(InC), .InB(InD), .S(S[0]));

    mux2_1 mux_out (.Out(Out), .InA(A_B), .InB(C_D), .S(S[1]));

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

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


    wire A_B, C_D;

    mux2_1 mux_ab (.Out(A_B), .InA(InA), .InB(InB), .S(S[0]));
    mux2_1 mux_cd (.Out(C_D), .InA(InC), .InB(InD), .S(S[0]));

    mux2_1 mux_out (.Out(Out), .InA(A_B), .InB(C_D), .S(S[1]));

endmodule