data/full_repos/permissive/170041316/hw3_1/mux_2_1.v
1: b"%Error: data/full_repos/permissive/170041316/hw3_1/mux_2_1.v:14: Cannot find file containing module: 'not1'\n    not1 not1_S(.in1(S), .out(nS));\n    ^~~~\n        ... Looked in:\n             data/full_repos/permissive/170041316/hw3_1,data/full_repos/permissive/170041316/not1\n             data/full_repos/permissive/170041316/hw3_1,data/full_repos/permissive/170041316/not1.v\n             data/full_repos/permissive/170041316/hw3_1,data/full_repos/permissive/170041316/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/170041316/hw3_1/mux_2_1.v:15: Cannot find file containing module: 'nand2'\n    nand2 nand_1(.in1(nS), .in2(InA), .out(nand_a));\n    ^~~~~\n%Error: data/full_repos/permissive/170041316/hw3_1/mux_2_1.v:16: Cannot find file containing module: 'nand2'\n    nand2 nand_2(.in1(S), .in2(InB), .out(nand_b));\n    ^~~~~\n%Error: data/full_repos/permissive/170041316/hw3_1/mux_2_1.v:18: Cannot find file containing module: 'nand2'\n    nand2 nand_3(.in1(nand_a), .in2(nand_b), .out(Out));\n    ^~~~~\n%Error: Exiting due to 4 error(s)\n"
module mux_2_1(InA, InB, S, Out);
    input   InA, InB;
    input   S;
    output  Out;


    wire nS, nand_a, nand_b;
    not1 not1_S(.in1(S), .out(nS));
    nand2 nand_1(.in1(nS), .in2(InA), .out(nand_a));
    nand2 nand_2(.in1(S), .in2(InB), .out(nand_b));

    nand2 nand_3(.in1(nand_a), .in2(nand_b), .out(Out));
endmodule
module mux_2_1(InA, InB, S, Out);

    input   InA, InB;
    input   S;
    output  Out;


    wire nS, nand_a, nand_b;
    not1 not1_S(.in1(S), .out(nS));
    nand2 nand_1(.in1(nS), .in2(InA), .out(nand_a));
    nand2 nand_2(.in1(S), .in2(InB), .out(nand_b));

    nand2 nand_3(.in1(nand_a), .in2(nand_b), .out(Out));
endmodule