data/full_repos/permissive/170405117/hw3_1/mux2_1.v
1: b"%Error: data/full_repos/permissive/170405117/hw3_1/mux2_1.v:16: Cannot find file containing module: 'not1'\n    not1  N1(.in1(S), .out(ws_n));\n    ^~~~\n        ... Looked in:\n             data/full_repos/permissive/170405117/hw3_1,data/full_repos/permissive/170405117/not1\n             data/full_repos/permissive/170405117/hw3_1,data/full_repos/permissive/170405117/not1.v\n             data/full_repos/permissive/170405117/hw3_1,data/full_repos/permissive/170405117/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/170405117/hw3_1/mux2_1.v:17: Cannot find file containing module: 'nand2'\n    nand2 NA1(.in1(ws_n), .in2(InA), .out(wA));\n    ^~~~~\n%Error: data/full_repos/permissive/170405117/hw3_1/mux2_1.v:18: Cannot find file containing module: 'nand2'\n    nand2 NA2(.in1(S), .in2(InB), .out(wB));\n    ^~~~~\n%Error: data/full_repos/permissive/170405117/hw3_1/mux2_1.v:19: Cannot find file containing module: 'nand2'\n    nand2 NA3(.in1(wA), .in2(wB), .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    ws_n, wA, wB;

    
    not1  N1(.in1(S), .out(ws_n));
    nand2 NA1(.in1(ws_n), .in2(InA), .out(wA));
    nand2 NA2(.in1(S), .in2(InB), .out(wB));
    nand2 NA3(.in1(wA), .in2(wB), .out(Out));   

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

    input   InA, InB;
    input   S;
    output  Out;
    wire    ws_n, wA, wB;

    
    not1  N1(.in1(S), .out(ws_n));
    nand2 NA1(.in1(ws_n), .in2(InA), .out(wA));
    nand2 NA2(.in1(S), .in2(InB), .out(wB));
    nand2 NA3(.in1(wA), .in2(wB), .out(Out));   

endmodule