Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
MENTOR GRAPHICS
NAME: D.KRISHNA PREM
ROLL NO: 13H61A04K7
DATE :
Pg No : ______
AIM: To design the schematic of a CMOS HALF ADDER circuit and simulate it to observe
2.PYXIS software
3.mentor graphics tools
THEORY: Half adder is a combinational arithmetic circuit that adds two
numbers and produces a sum bit (S) and carry bit (C) as the output. If A
and B are the input bits, then sum bit (S) is the X-OR of A and B and the
carry bit (C) will be the AND of A and B. From this it is clear that a half
adder circuit can be easily constructed using one X-OR gate and one AND
gate. Half adder is the simplest of all adder circuit, but it has a major
disadvantage. The half adder can add only two input bits (A and B) and
has nothing to do with the carry if there is any in the input. So if the input
to a half adder have a carry, then it will be neglected it and adds only the
A and B bits. That means the binary addition process is not complete and
thats why it is called a half adder. The truth table, schematic
representation and XOR//AND realization of a half adder are shown in the
figure below.
TRUTH TABLE:
SYMBOL:
VLSI-LAB
DATE :
Pg No : ______
PROCEDURE:
SCHEMATIC CREATION:
1.turn on the computer and log on to linux operating system
2. now, right click on desktop and then select open terminal option, a command prompt window will be
displayed on the screen.
3. now, in that window type ping 192.168.6.222 and then press enter (it is to ensure that the system is
connected to server).
4.press ctrl+c and then type clear, to clear the data in the window.
5. now, type csh and then press enter.
6. now, type source<space>/home/software/cshrc/ams_2009.cshrc
7. now, change the directory from root to #cd/home/software/FOUNDRY/GDK/Pyxis_SPT_HEP by typing
the command on the window displayed and then press enter.
8. now, type /open_Pyxis_SPT & press enter
9. now create a new project file.
10. create a folder with a name or roll number
11. create a file in that folder with the name of the project to be performed.
12.now, click on library and then select browse location map and then select GENERIC 13 map and then
click ok.
13. add standard libraries and then click ok.
ANURAG GROUP OF INSTITUTIONS
Department of ECE
VLSI-LAB
14. right click on project name and then click new and then select library option and then give aname to the
library and then click ok.
15.now, right click on library and then create a new cell and then give a name to it and then click ok.
16. now, right click on that cell and then click on schematic and then click ok.
17. now, a schematic window, where we have to place the discrete components will be displayed on the
screen.
18. now, we can get the components by clicking I in the keyboard and then select generic13 folder from left
side panel and then double click on symbols and then select the required component and then click ok.
19. now, go to schematic editor which is at top right corner of schematic window.
20. now, click on library and then select generic library and then select the required components
(VDD,GND,etc)
21. press w for getting wire to connect the components as per the circuit .
22. now, go to add and then select generate symbol option and then select activate symbol option and then
choose a shape which is suitable for the design.
23. now, here as it is an inverter, direct symbol is not available so, we have to select a buffer and then add a
circle at its output to make it look like an inverter
SCHEMATIC:
VLSI-LAB
TESTBENCH CREATION:
1. Close all schematics & symbols.
2. Create a new schematic inv_sim by selecting new schematic from session.
3. Add symbol of the schematic made.
Add_ Instance_ Choose Symbol.
4. Add a Pulse Source at the input to inverter and a DC Voltage source VDD port.
And do the necessary connections as per the figure given below.
** (from sources library we can pick various sources)
5. Right click on the Pulse Generator Source and select Edit Properties.
6. Change the values of the below mentioned parameters and apply the changes.Once you change the values
that have to be reflected once you click on OK tab.
Initial = 0V Pulse = 5V Delay = 1nS Rise = 1nS
Fall = 1nS Width = 25nS Period = 50ns.
7. Also change the magnitude of the Voltage Source from 1V to 5V by following the below step.
8. Right Click on the Voltage source adjacent to VDD and then Edit properties
9. Now from the menu bar click on check and save button. This will report if any errors present.
10. Now click on back tab and then select Simulationfrom the palette to run the simulation and select ok.
ANURAG GROUP OF INSTITUTIONS
Department of ECE
VLSI-LAB
12. Now select the Session tab _simulator/viewer from Setup on the palette and ensure
That the following options are set.
Simulator _ Eldo and Viewer _ EZwave and then Ok.
13. Select Lib/Temp/In _ include filesprovide the following path by selecting the
browsebutton. $ADK/technology/ic/models/ami05.mod.
14. Select Analyses _and enable DC and Transient.
15. Drop down the Analysis setup and select DC setup give the parameters as
TESTBENCH:
VLSI-LAB
DATE :
Pg No : ______
WAVEFORMS:
RESULT: Thus the output of CMOS HALF ADDER circuit is verified by designing a
VLSI-LAB
DATE :
Pg No : ______
2) Half adder is used to make full adder as a full adder requires 3 inputs, the third input
being an input carry i.e. we will be able to cascade the carry bit from one adder to the other.
CONCLUSION: The operation of HALF ADDER is such that when inputs a and b are
unequal the sum output is high and cout is high if the two inputs a and b are high .
VLSI-LAB