data/full_repos/permissive/170210550/hw3_1/mux2_1.v
1: b"%Error: data/full_repos/permissive/170210550/hw3_1/mux2_1.v:16: Cannot find file containing module: 'not1'\n    not1 notS (.out(inv_s), .in1(S));\n    ^~~~\n        ... Looked in:\n             data/full_repos/permissive/170210550/hw3_1,data/full_repos/permissive/170210550/not1\n             data/full_repos/permissive/170210550/hw3_1,data/full_repos/permissive/170210550/not1.v\n             data/full_repos/permissive/170210550/hw3_1,data/full_repos/permissive/170210550/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/170210550/hw3_1/mux2_1.v:18: Cannot find file containing module: 'nand2'\n    nand2 AS (.out(A), .in1(InA), .in2(inv_s));\n    ^~~~~\n%Error: data/full_repos/permissive/170210550/hw3_1/mux2_1.v:19: Cannot find file containing module: 'nand2'\n    nand2 BS (.out(B), .in1(InB), .in2(S));\n    ^~~~~\n%Error: data/full_repos/permissive/170210550/hw3_1/mux2_1.v:21: Cannot find file containing module: 'nand2'\n    nand2 out (.out(Out), .in1(A), .in2(B));\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 inv_s, A, B;


    not1 notS (.out(inv_s), .in1(S));

    nand2 AS (.out(A), .in1(InA), .in2(inv_s));
    nand2 BS (.out(B), .in1(InB), .in2(S));

    nand2 out (.out(Out), .in1(A), .in2(B));


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

    input   InA, InB;
    input   S;
    output  Out;


    wire inv_s, A, B;


    not1 notS (.out(inv_s), .in1(S));

    nand2 AS (.out(A), .in1(InA), .in2(inv_s));
    nand2 BS (.out(B), .in1(InB), .in2(S));

    nand2 out (.out(Out), .in1(A), .in2(B));


endmodule