Cadence Basic Simulation
Cadence Basic Simulation
Professor Bowman
This functional opamp macro gives flexibility in that you can setup your opamp parameters in the
properties form (select cell and hit the q button) to match what the design spec of your opamp needs to be.
This allows you to hold off on designing your opamp or design your section of while someone else works
on the opamp.
2
From library=analogLib cell=vdc and library=analogLib cell=gnd
3
A good idea is to input these values as variables that you can modify from the ADE GUI. This lets you
avoid time consuming editing of schematic and re-netlisting every time you need to update those values.
To include design variables in the ADE environment click VariablesCopy From Cellview.
RIT
Professor Bowman
A directory link has been setup in the /classes/ee***/share/model that points to the pdk model path. You
only need to add the model files for the process devices that are in your schematic.
5
See appendix for appropriate corner section designator.
6
The name of the model file is allFunc.scs, it is found in the cadence functional library unix directory. You
can find the path to the library in the unix hierarchy by right clicking on the functional library and going to
properties. There is a link to the allFunc.scs in the /classes/ee***/share/allFunc.scs
RIT
Professor Bowman
In my schematic I set the vdc voltage source variable to 5V, the current reference input on the opamp to
1.2V and the value of the resistor to 60K
8
For this case I chose DC and I clicked on the Save Operating Point button so all the data would be saved
9
In this example I chose the output net of the opAmp, the gate connection of the top current mirrors, and
the drains of the current sources. Hit the Escape key in your schematic to get out of this mode.
RIT
Professor Bowman
5. Obtaining numerical voltage and current data from DC simulations for family
plotting 10 (Corners and Monte Carlo)
a. From ADE GUI click ToolsCalculator
b. Click on the DC tab inside the calculator and select idc (currents) or
vdc (voltages), then inside the schematic window click on the terminal or
net that you want scalar data for.
c. From ADE GUI click OutputsSetup. This brings up the Output Setup
GUI. Click the Get Expression button to grab the formula from the
calculator, then click the Add button 11
10
11
RIT
Professor Bowman
A dialog box will pop up asking you to save operating points. Just click yes.
To return to default schematic annotation click ResultsAnnotateDesign Defaults
14
See Appendix for explanation of different corner designators.
15
File located in /classes/ee***/share/corners/corners45amis05default.dcf
16
Notice in the Performance Measurment section of the corners GUI that your previously defined save
points are represented here.
13
RIT
Professor Bowman
8.
17
Corners Output 17
This window will come up automatically. The top 2 graphs are the currents over corners. The bottom 2
graphs are the 2 different voltages that we setup previously. The one on the bottom left is the gate voltage
of the nmos, the right bottom graph is the diode voltage of the pmos.
RIT
Professor Bowman
RIT
Professor Bowman
b. From Monte Carlo GUI change Analysis Variation to Mismatch Only and
select Save Data Between Runs to Allow Family Plots 18
Notice that all of your saved nodes are showing up on the bottom. Also note the Calculator and Get
Expression buttons on the bottom of the form. These buttons can be used to add more data points.
19
The voltage plots were removed. Also take note of the different plotting options you have access to from
the ResultsPlot inside the Monte Carlo GUI
RIT
Professor Bowman
RIT
Professor Bowman
Appendix
nmos
pmos
temperature
voltage
slow/min
n
p
t
v
typical
a
b
c
d
fast/max
N
P
T
V