Professional Documents
Culture Documents
ECE102P
ECE102P
LAB-ASSIGNMENT-2
1)HALF ADDER:
Boolean function:
Truth table and k-map:
Verilog program (using if-else loop):
Simulated result:
2)HALF SUBTRACTOR
Boolean function:
Truth table and k-map:
Verilog program using test bench method:
Simulated result:
3)FULL ADDER: Boolean function:
Truth table and k-map:
Verilog program using test bench method:
Simulated result:
4)FULL SUBTRACTOR Boolean function:
4)FULL SUBTRACTOR
Boolean function:
Truth table and k-map:
VERILOG PROGRAM USING TEST BENCH:
STIMULATED RESULTS: