data/full_repos/permissive/211316121/lab3_3_module/Adder_4bit.v
1: b"%Error: data/full_repos/permissive/211316121/lab3_3_module/Adder_4bit.v:12: Cannot find file containing module: 'Full_adder'\nFull_adder F1(A[0],B[0],C[0],S[0],P[0],G[0]),\n^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/211316121/lab3_3_module,data/full_repos/permissive/211316121/Full_adder\n             data/full_repos/permissive/211316121/lab3_3_module,data/full_repos/permissive/211316121/Full_adder.v\n             data/full_repos/permissive/211316121/lab3_3_module,data/full_repos/permissive/211316121/Full_adder.sv\n             Full_adder\n             Full_adder.v\n             Full_adder.sv\n             obj_dir/Full_adder\n             obj_dir/Full_adder.v\n             obj_dir/Full_adder.sv\n%Error: data/full_repos/permissive/211316121/lab3_3_module/Adder_4bit.v:16: Cannot find file containing module: 'carry_bit'\ncarry_bit cb(A,B,C0,P,G,C);\n^~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module Adder_4bit(
input [3:0] A,
input [3:0] B,
input C0,
output [3:0] S,
output C4  );

wire [3:0] P;
wire [3:0] G;
wire [3:0] C;

Full_adder F1(A[0],B[0],C[0],S[0],P[0],G[0]),
           F2(A[1],B[1],C[1],S[1],P[1],G[1]),
           F3(A[2],B[2],C[2],S[2],P[2],G[2]),
           F4(A[3],B[3],C[3],S[3],P[3],G[3]);
carry_bit cb(A,B,C0,P,G,C);

assign C4=G[3] | P[3]&C[3];


endmodule
module Adder_4bit(
input [3:0] A,
input [3:0] B,
input C0,
output [3:0] S,
output C4  );


wire [3:0] P;
wire [3:0] G;
wire [3:0] C;

Full_adder F1(A[0],B[0],C[0],S[0],P[0],G[0]),
           F2(A[1],B[1],C[1],S[1],P[1],G[1]),
           F3(A[2],B[2],C[2],S[2],P[2],G[2]),
           F4(A[3],B[3],C[3],S[3],P[3],G[3]);
carry_bit cb(A,B,C0,P,G,C);

assign C4=G[3] | P[3]&C[3];


endmodule