User Tools

Site Tools


rfic

Cadence Setup for ECE 5/413: Radio Frequency IC Design

Login to the ENGR server ece-ecegrad.ece.uidaho.edu using X2Go+Mate Client. Linux and Mac users can use ssh instead of the X2Go client. They can do this with

 ssh -XY [username]@ece-ecegrad.ece.uidaho.edu 

This page will be modified/edited as we go along the semester to improve the simulation experience. Thus, its a good idea to check it if you run into problems.

Setting up Cadence Libraries

0) Open the .bashrc file in your home directory

cd
gedit .bashrc

Add the following lines to the .bashrc file in your home directory

export CDSHOME=/usr/local/cadence/installs/IC617
export CDS_Netlisting_Mode=Analog

Refresh the bash shell

source .bashrc

1) Create and go to your course work directory e.g. ece513. Better create a new directory for every course.

cd
mkdir ece513
cd ece513

All work by the user should be performed in this circuit design directory. You can start Cadence Virtuoso by using the following command in your work directory.

virtuoso &

You should always start virtuoso in you ece513 course directory.

Creating a new Library

The Library techfile contains all required techfile information.

To create a new library that uses an attached techfile, use the command File→New→Library from either the CIW or library manager and select the Attach to an existing techfile option.

For 45nm CMOS, select the gpdk045 library when asked for the name of the Attach To Technology Library.

When using model files directly (such as 90nm CMOS in this course), select the default cdsDefTechLib library when prompted to Attach To Technology Library.

Simulation Models

45nm CMOS Models

1) Create a “cds.lib” file. Using any text editor the following entry should be put in the cds.lib file:

INCLUDE /home/vsaxena/pdk/gpdk045_v_5_0/cds.lib

2) Use the command in the terminal to create a softlink to the models directory

ln -s /home/vsaxena/pdk/gpdk045_v_5_0/models

3) You should be ready to start Cadence Virtuoso now!

virtuoso &

4) You can find the PDK documentation at

/home/vsaxena/pdk/gpdk045_v_5_0/docs

If you have setup everything correctly, simulation models should be automatically loaded. However, they can be found at:

 
/home/vsaxena/pdk/gpdk045_v_5_0/models

90nm CMOS Models

The 90nm CMOS models are located in the /home.vsaxena/pdk/models/ibm90nm.scs file.

You should instantiate the 'nbsim4' and 'pbsim4' devices from analogLib and point them to 'CMOSN' and 'CMOSP' models respectively. The above spectre model is all that you need to include in your simulation setup.

Scalable Inductor Model

The scalable inductor model is located on the server. Add the following line to the cds.lib file in your ece513 work directory

 
DEFINE RFIC2013 /home/vsaxena/pdk/models/RFIC2013

The cell to use is ind_scale. Use the simulation testbench tb_ind_scale to plot s-parameters for the inductor model. Read more in the textbook Chapter 4 on inductor modeling.

Tutorials

rfic.txt · Last modified: 2018/11/23 22:26 by vsaxena