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 Top1 (
input [10:0] inp,
output cout,
output sum
);
wire [3:0] sum_word;
wire [3:0] carry_word;
wire cs1_c0;
wire cs1_c1;
wire cs1_s;
wire cs2_c0;
wire cs2_c1;
wire cs2_s;
stage1 instantiated(inp[10:0],sum_word[3:0],carry_word[3:0]);

carrysave_4is2 cs1 ({sum_word[3],carry_word[3],sum_word[2],carry_word[2]},cs1_c0,cs1_c1,cs1_s);
carrysave_4is2 cs2 ({sum_word[1],carry_word[1],sum_word[0],carry_word[0]},cs2_c0,cs2_c1,cs2_s);
carrysave_4is2 cs3 ({cs1_c1,cs1_s,cs2_c1,cs2_s},)


endmodule
module Top1 (
input [10:0] inp,
output cout,
output sum
);

wire [3:0] sum_word;
wire [3:0] carry_word;
wire cs1_c0;
wire cs1_c1;
wire cs1_s;
wire cs2_c0;
wire cs2_c1;
wire cs2_s;
stage1 instantiated(inp[10:0],sum_word[3:0],carry_word[3:0]);

carrysave_4is2 cs1 ({sum_word[3],carry_word[3],sum_word[2],carry_word[2]},cs1_c0,cs1_c1,cs1_s);
carrysave_4is2 cs2 ({sum_word[1],carry_word[1],sum_word[0],carry_word[0]},cs2_c0,cs2_c1,cs2_s);
carrysave_4is2 cs3 ({cs1_c1,cs1_s,cs2_c1,cs2_s},)


endmodule