module add_4b (iC,iP,iQ,oC,oS); input iC; input[3:0] iP,iQ; output oC; output[3:0] oS; wire oC; wire[3:0] oS; wire[2:0] tC; add_1b bit0 (iC,iP[0],iQ[0],tC[0],oS[0]); add_1b bit1 (tC[0],iP[1],iQ[1],tC[1],oS[1]); add_1b bit2 (tC[1],iP[2],iQ[2],tC[2],oS[2]); add_1b bit3 (tC[2],iP[3],iQ[3],oC,oS[3]); endmodule