data/full_repos/permissive/170067905/hw3_1/mux2_1.v
1: b"%Error: data/full_repos/permissive/170067905/hw3_1/mux2_1.v:14: Cannot find file containing module: 'not1'\n   not1 i(\n   ^~~~\n        ... Looked in:\n             data/full_repos/permissive/170067905/hw3_1,data/full_repos/permissive/170067905/not1\n             data/full_repos/permissive/170067905/hw3_1,data/full_repos/permissive/170067905/not1.v\n             data/full_repos/permissive/170067905/hw3_1,data/full_repos/permissive/170067905/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/170067905/hw3_1/mux2_1.v:19: Cannot find file containing module: 'nand2'\n   nand2 j(\n   ^~~~~\n%Error: data/full_repos/permissive/170067905/hw3_1/mux2_1.v:25: Cannot find file containing module: 'nand2'\n   nand2 k(\n   ^~~~~\n%Error: data/full_repos/permissive/170067905/hw3_1/mux2_1.v:31: Cannot find file containing module: 'nand2'\n   nand2 l(\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     NotS, MaxA, MaxB;
   
   not1 i(

	  .out				(NotS),

	  .in1				(S));
   nand2 j(

	   .in1                         (NotS),
	   .in2                         (InA),

	   .out                         (MaxA));
   nand2 k(

	   .in1                         (S),
	   .in2                         (InB),

	   .out                         (MaxB));
   nand2 l(

	   .in1                         (MaxA),
	   .in2                         (MaxB),

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

   input   InA, InB;
   input    S;
   output   Out;

   wire     NotS, MaxA, MaxB;
   
   not1 i(

	  .out				(NotS),

	  .in1				(S));
   nand2 j(

	   .in1                         (NotS),
	   .in2                         (InA),

	   .out                         (MaxA));
   nand2 k(

	   .in1                         (S),
	   .in2                         (InB),

	   .out                         (MaxB));
   nand2 l(

	   .in1                         (MaxA),
	   .in2                         (MaxB),

	   .out                         (Out));
      
endmodule