data/full_repos/permissive/158984095/Homework1/Question1/answer1_1.v
 line:1: before: "["
1: b'%Warning-IMPLICIT: data/full_repos/permissive/158984095/Homework1/Question1/answer1_1.v:43: Signal definition not found, creating implicitly: \'sum1\'\n                                                                                          : ... Suggested alternative: \'sum\'\nHA HalfAdder1(b,cin,sum1,carry1);\n                    ^~~~\n                   ... Use "/* verilator lint_off IMPLICIT */" and lint_on around source to disable this message.\n%Warning-IMPLICIT: data/full_repos/permissive/158984095/Homework1/Question1/answer1_1.v:43: Signal definition not found, creating implicitly: \'carry1\'\nHA HalfAdder1(b,cin,sum1,carry1);\n                         ^~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/158984095/Homework1/Question1/answer1_1.v:44: Signal definition not found, creating implicitly: \'carry2\'\n                                                                                          : ... Suggested alternative: \'carry1\'\nHA HalfAdder2(a,sum1,sum,carry2);\n                         ^~~~~~\n%Error: Exiting due to 3 warning(s)\n'
module TopLevel (ain[4:0],bin[4:0],cin[4:0],extendeda[7:0],extendedb[7:0],extendedcin[7:0],sumf[8:0],coutf[8:0],carrysaveoutput[8:0]);
input [4:0] ain;
input [4:0] bin;
input [4:0] cin;
output [8:0] carrysaveoutput;
output [7:0] extendeda;
output [7:0] extendedb;
output [7:0] extendedcin;
output [8:0] sumf;
output [8:0] coutf;

assign extendeda[7:0] = {{3{ain[4]}}, ain[4:0]};
assign extendedb[7:0] = {{{3{bin[4]}}, bin[4:0]} << 2};
assign extendedcin[7:0] = {{{3{cin[4]}}, cin[4:0]} << 3};
carrysave_8 instantiate (extendeda[7:0],extendedb[7:0],extendedcin[7:0],sumf[8:0],coutf[8:0],carrysaveoutput[8:0]);
endmodule
module TopLevel (ain[4:0],bin[4:0],cin[4:0],extendeda[7:0],extendedb[7:0],extendedcin[7:0],sumf[8:0],coutf[8:0],carrysaveoutput[8:0]);

input [4:0] ain;
input [4:0] bin;
input [4:0] cin;
output [8:0] carrysaveoutput;
output [7:0] extendeda;
output [7:0] extendedb;
output [7:0] extendedcin;
output [8:0] sumf;
output [8:0] coutf;

assign extendeda[7:0] = {{3{ain[4]}}, ain[4:0]};
assign extendedb[7:0] = {{{3{bin[4]}}, bin[4:0]} << 2};
assign extendedcin[7:0] = {{{3{cin[4]}}, cin[4:0]} << 3};
carrysave_8 instantiate (extendeda[7:0],extendedb[7:0],extendedcin[7:0],sumf[8:0],coutf[8:0],carrysaveoutput[8:0]);
endmodule