data/full_repos/permissive/210844779/lab1/1.b.1/fa4bit.v
1: b"%Error: data/full_repos/permissive/210844779/lab1/1.b.1/fa4bit.v:9: Cannot find file containing module: 'fa'\n   fa u0(.A(A[0]),.B(B[0]),.C(C),.Sum(Sum[0]),.Carry(temp[0]));\n   ^~\n        ... Looked in:\n             data/full_repos/permissive/210844779/lab1/1.b.1,data/full_repos/permissive/210844779/fa\n             data/full_repos/permissive/210844779/lab1/1.b.1,data/full_repos/permissive/210844779/fa.v\n             data/full_repos/permissive/210844779/lab1/1.b.1,data/full_repos/permissive/210844779/fa.sv\n             fa\n             fa.v\n             fa.sv\n             obj_dir/fa\n             obj_dir/fa.v\n             obj_dir/fa.sv\n%Error: data/full_repos/permissive/210844779/lab1/1.b.1/fa4bit.v:10: Cannot find file containing module: 'fa'\n   fa u1(.A(A[1]),.B(B[1]),.C(temp[0]),.Sum(Sum[1]),.Carry(temp[1]));\n   ^~\n%Error: data/full_repos/permissive/210844779/lab1/1.b.1/fa4bit.v:11: Cannot find file containing module: 'fa'\n   fa u2(.A(A[2]),.B(B[2]),.C(temp[1]),.Sum(Sum[2]),.Carry(temp[2]));  \n   ^~\n%Error: data/full_repos/permissive/210844779/lab1/1.b.1/fa4bit.v:12: Cannot find file containing module: 'fa'\n   fa u3(.A(A[3]),.B(B[3]),.C(temp[2]),.Sum(Sum[3]),.Carry(Carry));\n   ^~\n%Error: Exiting due to 4 error(s)\n"
module fa4bit(A,B,C,Sum,Carry);
   input[3:0]A,B;
   input   C;
   output [3:0]Sum;
   output Carry;

   wire [2:0]temp;
   
   fa u0(.A(A[0]),.B(B[0]),.C(C),.Sum(Sum[0]),.Carry(temp[0]));
   fa u1(.A(A[1]),.B(B[1]),.C(temp[0]),.Sum(Sum[1]),.Carry(temp[1]));
   fa u2(.A(A[2]),.B(B[2]),.C(temp[1]),.Sum(Sum[2]),.Carry(temp[2]));  
   fa u3(.A(A[3]),.B(B[3]),.C(temp[2]),.Sum(Sum[3]),.Carry(Carry));

   endmodule
module fa4bit(A,B,C,Sum,Carry);

   input[3:0]A,B;
   input   C;
   output [3:0]Sum;
   output Carry;

   wire [2:0]temp;
   
   fa u0(.A(A[0]),.B(B[0]),.C(C),.Sum(Sum[0]),.Carry(temp[0]));
   fa u1(.A(A[1]),.B(B[1]),.C(temp[0]),.Sum(Sum[1]),.Carry(temp[1]));
   fa u2(.A(A[2]),.B(B[2]),.C(temp[1]),.Sum(Sum[2]),.Carry(temp[2]));  
   fa u3(.A(A[3]),.B(B[3]),.C(temp[2]),.Sum(Sum[3]),.Carry(Carry));

   endmodule