Академический Документы
Профессиональный Документы
Культура Документы
ABSTRACT:
CMOS logic is a newer technology, based on the use of complementary MOS transistors to
perform logic functions with almost no current required. This makes these gates a\very useful in
battery-powered applications. They will work with supply voltages as low as 3 volts and as high
as 15 volts. The main objective of this experiment was to be familiar to half adder and to
construct a Half Adder with CMOS.
Characteristics:
Advantages:
Disadvantages:
Introduction:
ADDER:
In electronics, an adder or summer is a digital circuit that performs addition of numbers. In many
computers and other kinds of processors, adders are used not only in the arithmetic logic unit(s),
but also in other parts of the processor, where they are used to calculate addresses, table indices,
and similar operations.
Although adders can be constructed for many numerical representations, such as binary-coded
decimal or excess-3, the most common adders operate on binary numbers. In cases where two's
Truth Table
A
B
SUM
0
0
0
0
1
1
1
0
1
1
1
0
Boolean Expression: Sum = A B Carry = A . B
CARRY
0
0
0
1
From the truth table we can see that the SUM (S) output is the result of the Ex-OR gate and the
Carry-out (Cout) is the result of the AND gate. One major disadvantage of the Half Adder circuit
when used as a binary adder, is that there is no provision for a "Carry-in" from the previous
circuit when adding together multiple data bits.
For example, suppose we want to add together two 8-bit bytes of data, any resulting carry bit
would need to be able to "ripple" or move across the bit patterns starting from the least
significant bit (LSB). The most complicated operation the half adder can do is "1 + 1" but as the
half adder has no carry input the resultant added value would be incorrect. One simple way to
overcome this problem is to use a Full Adder type binary adder circuit.
In this experiment, we implemented and constructed two circuits:
1. A Half Adder Sum with CMOS.
2. A Half Adder Carry with CMOS.
To design any logic circuit first the truth table is needed to be established using different
combinations of logic 0 and 1 to get the desired output. After that the gate level design is
found from which transistor level design is done using desired transistors. Here CMOS is used
for the transistor level design of the Half Adder. The whole process is given step wise below:
Pre-Lab Homework:
1/ Ans:
Truth table of half adder:
A
0
0
1
1
B
0
1
0
1
Truth Table
SUM
0
1
1
0
CARRY
0
0
0
1
2/ FULL ADDER: A logic Circuit Which is used for adding Three Single bit Binary
numbers is known as Full Adder.The circuit diagram and Truth Table of Full Adder is
Shown Below:
Apparatus:
1) PMOS: 4[pcs]
2) NMOS: 4[pcs]
3) IC 7404(Inverter): 2[pcs]
4) Connecting Wires
5) Trainer Board
Precautions:
1/After setting up each circuit, the connections were re-checked before input voltage was given.
2/Enough voltage was applied to just to turn on the transistors but not so much that the transistor
is damaged.
3/ For any short circuits in the circuit all connections were checked before input voltage was
applied.
4/We had tried avoiding all errors during the whole experiment.
Experimental Procedure:
1/ The circuit was simulated for half adder sum and half adder carry out using Multisim.
2/The output was verified of the simulation.
3/Then the output was verified again after implementing the circuit on the trainer board.
CARRY-OUT
CARRY-OUT
SUM
SUM
0V
0V
0.06 V
0.11 V
0.05 V
0.06 V
0V
5V
0.66 V
0.57 V
5V
4.91 V
5V
0V
0.66 V
0.57 V
5V
4.94 V
5V
5V
5V
4.97 V
0.10 V
0.15 V
Answers to Questions:
1/Ans:
Table 3: Comparison of the hardware, from simulation and the expected values for the
Carry-Out .
INPUT
INPUT
EXPECTED
SIMULATION
EXPERIMENT
CARRY-OUT
CARRY-OUT
CARRY-OUT
0V
0V
0V
0.06V
0.11V
0V
5V
0V
0.66V
0.57V
5V
0V
0V
0.66V
0.57V
5V
5V
5V
5V
4.97 V
Table 4: Comparison of the hardware, from simulation and the expected values for the Sum
.
INPUT
INPUT
EXPECTED
SIMULATION
EXPERIMENT
CARRY-OUT
CARRY-OUT
CARRY-OUT
0V
0V
0V
0.05V
0.060 V
0V
5V
5V
5V
4.91 V
5V
0V
5V
5V
4.94 V
5V
5V
0V
0.10 V
0.15 V
2/Ans:
Fig : Full Adder using CMOS.