data/full_repos/permissive/170626364/hw3_1/mux2_1.v
1: b"%Error: data/full_repos/permissive/170626364/hw3_1/mux2_1.v:15: Cannot find file containing module: 'nand2'\n    nand2 n1 (S, S, s_n),\n    ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/170626364/hw3_1,data/full_repos/permissive/170626364/nand2\n             data/full_repos/permissive/170626364/hw3_1,data/full_repos/permissive/170626364/nand2.v\n             data/full_repos/permissive/170626364/hw3_1,data/full_repos/permissive/170626364/nand2.sv\n             nand2\n             nand2.v\n             nand2.sv\n             obj_dir/nand2\n             obj_dir/nand2.v\n             obj_dir/nand2.sv\n%Error: Exiting due to 1 error(s)\n"
module mux2_1(InA, InB, S, Out);
    input   InA, InB;
    input   S;
    output  Out;


    wire s_n, a_sel, b_sel; 
    nand2 n1 (S, S, s_n),
        n2 (InA, s_n, a_sel),
        n3 (InB, S, b_sel),
        n4 (a_sel, b_sel, Out);

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

    input   InA, InB;
    input   S;
    output  Out;


    wire s_n, a_sel, b_sel; 
    nand2 n1 (S, S, s_n),
        n2 (InA, s_n, a_sel),
        n3 (InB, S, b_sel),
        n4 (a_sel, b_sel, Out);

endmodule