Full
Adder
Hello
friends today we are going to learn about full adders and we will also use
labVIEW to complete our task 2.
To
make my post even more interesting I use other software such as MATLAB ,pspice ,NI Multisim.
In
my previous post we discussed about half adders and we also used programming
software such as pspice , MATLAB , labVIEW , NI Multisim.
I
hope you are clear with a half adder circuit and there working. One thing keep
in your mind that binary addition is different from normal decimal addition.
Let’s get started
What
is a full adder?
A
full adder is similar to that of an half adder but full adders are capable of
adding 2 one bit binary number along with a carry, were as half adder we can
only add 2 one bit binary number.
How
to construct a full adder circuit.
A
full adder circuit is very simple if u ask me I will say it’s the simplest one.
When
2 half adder circuit is connected together we get a full adder circuit.
And
we already know that the half adder circuit uses EXCLUSIVE-OR GATE, and AND
GATE.
And
for full adder we need 2 EXCLUSIVE-OR GATE,2 AND GATE and one OR gate.
For
a full adder circuit we have 3 input and 2 output.
STEP
1:
Connect pin A and pin B parallel
with EX-OR and AND gate to construct half adder 1. Similarly do the same for
half adder 2
STEP
2:
Take
the output of EX-OR gate from HALF ADDER 1 and connect as one of the input to
half adder 2
STEP
3:
An
additional input terminal C which is the carry in pin connect it with half adder 2
STEP
4:
Now
we have 3 output pins but we need 2 pins output sum and carry out
Use
OR GATE and connect output of AND GATE from half adder 1 and half adder 2. The
output of OR gate is the carry out for the full
adder circuit and EX-OR gate is the sum.
So
now we are clear how to design a half adder circuit let’s see how to implement
the same with the help of software such as pspice,
MATLAB , labVIEW ,and NI Multisim.
LABVIEW
STEP
1:
Open
LABVIEW software
STEP
2:
Press
ctrl + N to open a blank .vi
STEP
3:
For
multitasking press ctrl + T to access front panel and block diagram window at
the same time.
STEP
4:
Use
Boolean functions from function palette.
STEP
5:
Place
the logic gates as per your requirement.
STEP
6:
Make
your connections properly and your program is ready.
STEP
7:
Run
your program and your output is ready.
PSPICE
STEP
1:
Open
Pspice (capture CIS) software
STEP
2:
Go
to file-new-project
Now
you get 4 options
1 : Analog/mixed A/D
2 : Pc board wizard
3 : Programmable logic wizard
4 : Schematic
STEP
4:
Choose
Analog/mixed A/D because we are working with digital circuits.
If
you are installing for the first time then you have to specify the path where
to save the files.
STEP
5:
Now
a pop up window appears "create pspice project window" choose
"create a blank project”.
STEP
6:
Now
you are to ready to program your select the components from library.
STEP
7:
After
making finishing the full adder circuit you’re are ready to simulate.
MATLAB
STEP
1:
Open
Matlab software
STEP
2:
Go
to new simulink model.
STEP
3:
Wait
for a while once Simulink model window appears select “library browser” form
toolbar.
STEP
4:
Under
library toolbar select go to Simulink-logic and bit operation.(This window will
help you to add logical functions for the blank .mat file)
STEP
5:
Add
constants for input from Simulink - sources
STEP
6:
Add
display for viewing output from Simulink - sinks.
STEP
7:
After
completing your program run the program and your output is ready.
NI
MULTISIM
STEP
1:
Open
NI Multisim
STEP
2:
As
soon as you open multisim you can start your simulation.
STEP
3:
The
toolbar contains all basic components such as resistor, diode, transistor etc.
STEP
4:
Once
you click any components such as resistor library window appears on the screen.
With
the help of the library files you can places thousands of different components.
STEP
5:
Multisim
simulation is similar to that of practical experiments you have to place led
for output switches for input and other components such as multimeter, CRO for
output.
STEP
6:
After
completing your circuit you have to click the play button which appears on top
of the screen.
LabView Full adder basic file
LabView Full adder file
PSpice Full adder file
NI Multisim Full adder file
What’s
next?
In my next post we are going to learn about
RS-Flipflop
If
you like my post like share and subscribe to my youtube channel "ANK
LABS".
Support
me on blogger and google+.
No comments:
Post a Comment