Professional Documents
Culture Documents
ECE 4101 Computer and Information Lab III - Experiment 2
ECE 4101 Computer and Information Lab III - Experiment 2
To perform a DC simulation to plot a VTC curve (voltage transfer characteristic) for inverter
To perform a DC simulation and combine it with a parametric analysis to optimize transistor
sizes for an inverter
After that, name your project in the Name and location path Then selectAnalog or Mixed A/D
to continue.Then hit OK.
Select Create a blank project . Then hit OK. The Pspice schematic interface is shown and may
start the circuit construction.
Then find all needed components (full inverter circuit as depicted below) and plug and place them
on the schematic board interface. Put voltage source of V1=3.5Volts and V2= 3.5Volts. This is
because we are using 0.35um technology file, the minimum is 3.5Volts.
V1
P1
3.5
M2
0
V1 = 3.5
V2 = 0
TD = 0
TR = 10ns
TF = 10ns
PW = 1u
PER = 2u
V2
V
V
M1
N1
Thing to remember:
Since we are dealing with the model of 0.35 um CMOS technology, make sure the code sourcefile
.model as shown below is replaced inside Pspice PMOS and NMOS devices.
* n-MOS Model 3 :
* Standard
.MODEL N1 NMOS LEVEL=3 VTO=0.60 KP=200.000E-6
+LD =0.000U THETA=0.300 GAMMA=0.400
+PHI=0.300 KAPPA=0.010 VMAX=130.00K
+CGSO= 0.0p CGDO= 0.0p
*
* p-MOS Model 3:
* high speed pMOS
.MODEL P1 PMOS LEVEL=3 VTO=-0.60 KP=52.000E-6
+LD =0.000U THETA=0.300 GAMMA=0.400
+PHI=0.300 KAPPA=0.010 VMAX=100.00K
+CGSO= 0.0p CGDO= 0.0p
Method:
a. Open the PSpice and paste the .model from source file. Click on the NMOS device> right
click> Edit PSpice Model.
c. Repeat the same thing to PMOS by copying the PMOS .model netlist
Then, in this section, Select DC Sweep analysis and click on Primary Sweep. Fill in the name of
voltage source and define your sweep type.
5. Prior to Parametric Sweep Analysis. It is important to know how to change the width and length
of both PMOS and NMOS basically.
a) Double click on the PMOS and NMOS devices. Then it displays the length and width channel.
For PMOS device, make it (W/L) to (2.2um/0.4um), whilst NMOS device turn (W/L) to
(1.4um/0.4um).
Length Channel
Width Channel
c)
Add new row and apply. Please put name as width and value = 1u.
d) The new width section was created. Then, please double click on it and choose Display
name and value.
e)
f)
Set the global parameter. Double click at PMOS width and set value= {width}
i)
Four VTC outputs are plotted as shown in figure below. (Vin vs. Vout of the inverter). Each
curve represents a DC analysis, using a different value of the W,width parameter.
j)
The value of W for each graph is listed along the top of the graph, and it is color
coordinated. Find out that which Width parameter exhibits the x-coordinate = y-coordinate
= 1.75 volts.
k) Otherwise the Width needs to be re-adjusted again to obtain the optimum size of the
PMOS.
7. Once you have found the value for w that makes the output wave pass through the midpoint,
1.75 volts, you have perfectly sized the PMOS transistor to match the NMOS transistor.
Essentially, they now have the same value for their resistance is equal when operating.
8. Save your simulation state. Edit your inverter schematic, and change the PMOSs width to be
equal to the value you have obtained it.
Design and simulate a NAND gate device using SPICE. Essentially you have to calculate theoretically the
optimum size for the PMOS. Then, you may repeat the procedures above trying both of its inputs
together to size the transistors in a NAND gate.