CodePudding user response:
The module CSA4 (Input [3-0] opa,
Opb input [3-0],
Input (3-0) ci,
The output (3-0) sum,
The output [Wednesday] co
);
Assign the sum=opa ^ opb ^ ci;
The assign co=(opa& Opb | opa& Ci | opb& Ci) & lt; <1;
endmodule
CodePudding user response:
The module CSA4 (