data/full_repos/permissive/158984095/Homework1/CompresseHW/answer1_7.v
 line:31: before: ")"
1: b"%Error: data/full_repos/permissive/158984095/Homework1/CompresseHW/answer1_7.v:34: syntax error, unexpected endmodule, expecting ',' or ';'\nendmodule\n^~~~~~~~~\n%Error: Exiting due to 1 error(s)\n"
module stage1 (
input [10:0] in,
output [3:0] sum,
output [3:0] cout
);

FullAdder FA0 (in[0],in[1],in[2],sum[0],cout[0]);
FullAdder FA1 (in[3],in[4],in[5],sum[1],cout[1]);
FullAdder FA2 (in[6],in[7],in[8],sum[2],cout[2]);




HalfAdder HA (in[9],in[10],sum[3],cout[3]);
endmodule
module stage1 (
input [10:0] in,
output [3:0] sum,
output [3:0] cout
);


FullAdder FA0 (in[0],in[1],in[2],sum[0],cout[0]);
FullAdder FA1 (in[3],in[4],in[5],sum[1],cout[1]);
FullAdder FA2 (in[6],in[7],in[8],sum[2],cout[2]);




HalfAdder HA (in[9],in[10],sum[3],cout[3]);
endmodule