data/full_repos/permissive/170902741/hw3_1/mux2_1.v
1: b"%Error: data/full_repos/permissive/170902741/hw3_1/mux2_1.v:15: Cannot find file containing module: 'not1'\n not1 not_S(.in1(S), .out(nS));\n ^~~~\n        ... Looked in:\n             data/full_repos/permissive/170902741/hw3_1,data/full_repos/permissive/170902741/not1\n             data/full_repos/permissive/170902741/hw3_1,data/full_repos/permissive/170902741/not1.v\n             data/full_repos/permissive/170902741/hw3_1,data/full_repos/permissive/170902741/not1.sv\n             not1\n             not1.v\n             not1.sv\n             obj_dir/not1\n             obj_dir/not1.v\n             obj_dir/not1.sv\n%Error: data/full_repos/permissive/170902741/hw3_1/mux2_1.v:16: Cannot find file containing module: 'nand2'\n nand2 nand_sel_a(.in1(InA), .in2(nS), .out(nAS));\n ^~~~~\n%Error: data/full_repos/permissive/170902741/hw3_1/mux2_1.v:17: Cannot find file containing module: 'nand2'\n nand2 nand_sel_b(.in1(InB), .in2(S), .out(nBS));\n ^~~~~\n%Error: data/full_repos/permissive/170902741/hw3_1/mux2_1.v:18: Cannot find file containing module: 'nand2'\n nand2 nand_out(.in1(nAS), .in2(nBS), .out(Out));\n ^~~~~\n%Error: Exiting due to 4 error(s)\n"
module mux2_1(InA, InB, S, Out);
    input   InA, InB;
    input   S;
    output  Out;

    wire nAS, nBS, nS;


	not1 not_S(.in1(S), .out(nS));
	nand2 nand_sel_a(.in1(InA), .in2(nS), .out(nAS));
	nand2 nand_sel_b(.in1(InB), .in2(S), .out(nBS));
	nand2 nand_out(.in1(nAS), .in2(nBS), .out(Out));

endmodule
module mux2_1(InA, InB, S, Out);

    input   InA, InB;
    input   S;
    output  Out;

    wire nAS, nBS, nS;


	not1 not_S(.in1(S), .out(nS));
	nand2 nand_sel_a(.in1(InA), .in2(nS), .out(nAS));
	nand2 nand_sel_b(.in1(InB), .in2(S), .out(nBS));
	nand2 nand_out(.in1(nAS), .in2(nBS), .out(Out));

endmodule