Lab Assignment Lab Assignment 1
Lab Assignment Lab Assignment 1
LAB ASSIGNMENT
Lab Assignment 1:
Design a Half Adder through schematic and verilog module. Also verify the results from truth table
given below.
THEORY
HALF ADDER
In electronics, an adder is a digital circuit that performs addition of numbers. In many computers and other
kind of processors, adders are used not only in the arithmetic logic units, but also in other parts of the
processor where they are used to calculate addresses, table indices and etc.
sum
Carry
Truth Table
Schematic Diagram:
Circuit Diagram
Waveform:
Lab Assignment 2:
Design a Full Adder through schematic and verilog module. Also verify the results from truth table
given below.
THEORY
FULL ADDER
A full adder adds binary numbers and accounts for values carried in as well as out. A one-bit full adder adds
three one-bit numbers, often written as A, B and Cin. A and B are the operands and Cin is a bit carried in.
The circuit produces a two bit output, S and Cout. The final sum is 2XCout+S.
Cin
sum
Carry
Truth Table
Circuit Diagram
Schematic Diagram:
Waveform: