Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module halfAdder
- (output logic sum, cOut,
- input logic a, b);
- xor x1(sum, a, b);
- and a1(cOut, a, b);
- endmodule: halfAdder
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement