// Synthesizable generic design.

module half_adder
(
    input  a,
    input  b,
    output sum,
    output cout
);

    assign { cout, sum } = { 1'b0, a } + { 1'b0, b };

endmodule
