User Tools

Site Tools


rfic

This is an old revision of the document!


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 CDSDIR=/usr/local/cadence/installs/IC617

Refresh the bash shell

source .bashrc

1) Copy the .cdsenv file into your home directory.

cp    /home/vsaxena/pdk/ncsu-cdk-1.6.0.beta/cdssetup/.cdsenv  .cdsenv

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

cd
mkdir ece513
cd ece513

3) If you have existing files, save backups of the files below

cp .cdsinit  .cdsinit_bkp 
cp cds.lib  cds.lib_bkp 

4) Copy .cdsinit from the NCSU setup directory using the command below to your into ece513 directory

cp    /home/vsaxena/pdk/ncsu-cdk-1.6.0.beta/cdssetup/.cdsinit  .cdsinit

Make sure you have this .cdsinit file copied in the ece513 folder.

5) If you dont have an existing cds.lib file, then copy the cds.lib file using the following command and skip to the next step:

cp    /home/vsaxena/pdk/ncsu-cdk-1.6.0.beta/cdssetup/cds.lib  cds.lib

If you have an existing cds.lib file, then merge the cds.lib file from (/home/vsaxena/pdk/ncsu-cdk-1.6.0.beta/cds.lib) with your existing cds.lib in the directory. This is equivalent to copying the following entries (note that CDK_DIR variable should be defined as in the first line below):

# Include basic Spectre and Verilog-A libraries
DEFINE basic    $CDSDIR/tools/dfII/etc/cdslib/basic
DEFINE analogLib $CDSDIR/tools/dfII/etc/cdslib/artist/analogLib
DEFINE functional    $CDSDIR/tools/dfII/etc/cdslib/artist/functional
DEFINE sbaLib    $CDSDIR/tools/dfII/etc/cdslib/artist/sbaLib
DEFINE ahdlLib $CDSDIR/tools/dfII/samples/artist/ahdlLib
DEFINE bmslib $CDSDIR/tools/dfII/samples/artist/bmslib


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

<code>
virtuoso &

Simulation Models

Simulation models are located in the following directory on the course server.

 /home/vsaxena/analog_design/models/ 
  • We will use IBM 9SF 90nm low-leakage CMOS Process courtesy Prof. Sankaran Aniruddhan from IIT Madras.
  • The model file is ibm90nm.scs in the above directory.
  • In the model noise parameters have been added manually from some other process.
  • 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.
  • Also use the scalable inductor pcell for use with Cadence RFIC2013.zip in the above directory.

Tutorials

I-V and Parametric Sweeps - Thanks to Jubayer!

rfic.1537688116.txt.gz · Last modified: 2018/09/23 07:35 by vsaxena