Verilog Coding Exercise · Combinational I
Half Adder
Two bits in, sum and carry out — the simplest adder there is.
Adds two single-bit numbers A and B, producing a SUM and a CARRY output. It has no way to accept an incoming carry, which is exactly the limitation the full adder fixes.