You are on page 1of 6

TITLE: EXP :DESIGN OF 2 TO 4 DECODER BY USING MENTOR GRAPHICS

DATE :
Pg No : ______

NAME: V.SRIKANTH
ROLL NO: 13H61A04P8

AIM: To design the schematic of a 2 t0 4 DECODER and simulate it to observe the

Waveforms by using ELDO simulator in mentor graphics.


TOOLS USED: 1.PC with LINUX OS

2.PYXIS software
3.mentor graphics tools
THEORY: A decoder is a circuit that changes a code into a set of signals. It

is called a decoder because it does the reverse of encoding. A common


type of decoder is the line decoder which takes an n-digit binary number
and decodes it into 2n data lines.
TRUTH TABLE:

SYMBOL:

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
ANURAG GROUP OF INSTITUTIONS
Department of ECE

VLSI-LAB

TITLE: EXP :DESIGN OF 2 TO 4 DECODER BY USING MENTOR GRAPHICS


DATE :
Pg No : ______

NAME: V.SRIKANTH
ROLL NO: 13H61A04P8

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.
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:

ANURAG GROUP OF INSTITUTIONS


Department of ECE

VLSI-LAB

TITLE: EXP :DESIGN OF 2 TO 4 DECODER BY USING MENTOR GRAPHICS


DATE :
Pg No : ______

NAME: V.SRIKANTH
ROLL NO: 13H61A04P8

SYMBOL:

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
ANURAG GROUP OF INSTITUTIONS
Department of ECE

VLSI-LAB

TITLE: EXP :DESIGN OF 2 TO 4 DECODER BY USING MENTOR GRAPHICS


DATE :
Pg No : ______

NAME: V.SRIKANTH
ROLL NO: 13H61A04P8
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.
11. Select a New configuration (Give a new name for simulation).
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

Select option Source


Select the voltage source as V1
Start: 0 stop: 5 Step 0.1
16. Select Transient Setup and change the stop time to 1000N.
17. Select the input path A and then hold CTRL key and then output path Y and click
on Probes from the palette. Select DC in Analysis tab, Plot from Task tab
Select add. Similarly select TRAN from Analysis tab and select add and close the
Window
18. Now click on Run Eldo tab from the palette where it opens 2 windows showing
various steps running in command line. Once it finishes it will invoke the EZWave
waveform viewer. If it is not invoked Click on the View Waves Tab from the palette
to invoke the EZWave Waveform Viewer.
19. Now the EZWave displays the input and output signals.

TESTBENCH:

ANURAG GROUP OF INSTITUTIONS


Department of ECE

VLSI-LAB

TITLE: EXP :DESIGN OF 2 TO 4 DECODER BY USING MENTOR GRAPHICS


NAME: V.SRIKANTH
ROLL NO: 13H61A04P8

DATE :
Pg No : ______

SIMULATION WAVEFORMS:

ANURAG GROUP OF INSTITUTIONS


Department of ECE

VLSI-LAB

TITLE: EXP :DESIGN OF 2 TO 4 DECODER BY USING MENTOR GRAPHICS


NAME: V.SRIKANTH
ROLL NO: 13H61A04P8

DATE :
Pg No : ______

RESULT: Thus the output of 2 to 4 DECODER is verified by designing a schematic and

simulating it by using eldo simulator in mentor graphics.


APPLICATIONS: Decoders are greatly used in applications where the particular output or

group of outputs to be activated only on the occurrence of a specific combination of input


levels. Very often these input levels are provided by the outputs of a register or
counter.When the counter or register continuously pulse the decoder inputs, the outputs will
be activated sequentially. And these outputs can be used as sequencing signals or timing
signals to switch the devices at particular times.
CONCLUSION: The operation of 2 TO 4 DECODER gate is such that any one of the output

lines will be activated for one possible combination of input .

ANURAG GROUP OF INSTITUTIONS


Department of ECE

VLSI-LAB

You might also like