cadence setup v2
TRANSCRIPT
-
7/30/2019 Cadence Setup V2
1/9
Cadence Setup
This short tutorial shows how to setup basic cadence environment. Make sure you are
using connected to solarium.utdallas.edu. Make a directory named EECT6326 for the
class:
mkdir ~/EECT6326
You need following six files to set up your Cadence environment:
1) .cdsint
2) .cdsenv
3) cds.lib
4) profile.ic-5
5) spectre250.scs
6) MOS_Model.scs
You can copy these from the following directory:
cp /home/eng/b/bre100020/Fall12/EECT6326/* ~/EECT6326/
Type "ls" in your terminal to check that all six files have been successfully copied, then
change the cdsinit and cdsenv file names to have dots in front of them.
mv ~/EECT6326/cdsinit ~/EECT6326/.cdsinit
mv ~/EECT6326/cdsenv ~/EECT6326/.cdsenv
This step is IMPORTANT. .cdsenv and .cdsinit are the two file which define the
Cadence environment when you start the program.
Now, you are able to start icfb. First, you need to source the profile file every time
before starting icfb. Secondly, icfb must be started under project directory because wecopied .cdsenv and .cdsinit there.
cd ~/EECT6326/
source profile.ic-5
icfb&
After that, you will see the command interpreter window (CIW).
-
7/30/2019 Cadence Setup V2
2/9
Go to Tools in CIW and click on Library Manager
Go to File in Library Manager -> New -> Library
-
7/30/2019 Cadence Setup V2
3/9
Enter the name of your library for the project (e.g. ADC_proj). Then chose Dont need
a techfile. Then click OK.
Go to File in CIW -> New -> Cellview
You will see the schematic window. For nmos and pmos transistors, go to Add ->
Instance (the default hotkey is i)
-
7/30/2019 Cadence Setup V2
4/9
Use nmos4 and pmos4 foranalogLib, remember you need to change the Modelname to be NMOS and PMOS as follows.
-
7/30/2019 Cadence Setup V2
5/9
Here I build a simple inverter to show the simulation flow.
Go to Tools -> Analog Environment to open Analog Design Environment. Click on
Analyses in Analog Environment.
-
7/30/2019 Cadence Setup V2
6/9
Choose transient analysis
After simulation is done, go to result Results -> Direct Plot -> Main from and select
input and output nodes. Then you could see the input and output voltage waveform.
-
7/30/2019 Cadence Setup V2
7/9
Small Signal Gain Simulation
Create a new schematic called amplifier in your ADC_proj library and draw the
following circuit:
-
7/30/2019 Cadence Setup V2
8/9
For the input voltage source, set the DC voltage to 2 and the AC Magnitude to 1.
Now start the Analog Design Environment and add an AC analysis as shown:
-
7/30/2019 Cadence Setup V2
9/9
Go to Outputs->To Be Plotted->Select On Schematic and click on the output node.
After you run the simulation the following plot should appear:
The value plotted here is the small signal gain of your circuit.