nand2/02_Boolean_Arithmetic/HalfAdder.v
Michael Schröder 971b323822 added v2.0
2023-01-11 23:04:57 +01:00

16 lines
238 B
Verilog

/**
* Computes the sum of two bits.
*/
`default_nettype none
module HalfAdder(
input a, //1-bit input
input b, //1-bit inpur
output sum, //Right bit of a + b
output carry //Lef bit of a + b
);
// Put your code here:
endmodule