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


	mux2_1 mux_A_B(.S(S[0]), .InA(InA), .InB(InB), .Out(A_B_sel));
	mux2_1 mux_C_D(.S(S[0]), .InA(InC), .InB(InD), .Out(C_D_sel));
	mux2_1 mux_out(.S(S[1]), .InA(A_B_sel), .InB(C_D_sel), .Out(Out));

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

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

	wire A_B_sel, C_D_sel;


	mux2_1 mux_A_B(.S(S[0]), .InA(InA), .InB(InB), .Out(A_B_sel));
	mux2_1 mux_C_D(.S(S[0]), .InA(InC), .InB(InD), .Out(C_D_sel));
	mux2_1 mux_out(.S(S[1]), .InA(A_B_sel), .InB(C_D_sel), .Out(Out));

endmodule