Archived
1
0
This repository has been archived on 2026-02-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
iceberg/cpu/alu/halfadder.sv
T
2022-03-04 01:39:07 +01:00

11 lines
156 B
Systemverilog

module halfadder (
output sum_bit,
output carry_bit,
input a,
input b
);
xor sum_g(sum_bit, a, b);
and carry_g(carry_bit, a, b);
endmodule