Setup Tutorial and Online Help

Created by: Pankaj Golani


·        Unix Tutorial

All the cadence tools work on UNIX OS, so it is useful to learn some basic commands in UNIX. If so, please take 
time to watch this introductory lecture (1H 6 min) by Prof. Gandhi and start practicing a few basic commands on  UNIX. 
Go to http://www-classes.usc.edu/engr/ee-s/457/ePD_Camtasia and download the 276MB file ee102l_UNIX_introduction.avi. 
It may take 10 to 20 minutes to download this huge file.
 

·        Setup Tutorial

1.     Cadence can only run on the unix machines at USC (e.g., aludra). You will need to XTERM into these machines to run the tools.

2.      Make sure you have "source ~ee577/vlsi_tools.csh" entry in your .cshrc or .login file.

3.     Make sure the license environments are properly setup by executing the following command

%printenv LM_LICENSE_FILE

 1700@license.usc.edu:/auto/hspice/2003.03/license.dat:1800@license29.usc.edu:1900@license29.usc.edu:1700@license29.usc.edu

1800@license29.usc.edu and 1900@license29.usc.edu are the two license servers on which the licenses of

cadence and synopsys tools are stored.

·        Magic , IRSIM and HSPICE setup

      Make sure that magic irsim and hspice are setup properly by typing the following commands on command prompt

%which magic

magic: aliased to ~ee577/cad/bin/magic -d X11 -T  SCN5M_SUBM_15_TSMC

%which irsim

irsim: aliased to ~ee577/cad/bin/irsim tsmc25.15.n99y.2.5.prm

%which hspice

hspice: aliased to /usr/usc/hspice/default/sun58/hspice

·        Cadence Setup

1.      Create "cds" directory at your home directory.                                                                          
   %mkdir cds

2.      Copy files from ~ee577/design_pdk/tsmc25/ to the "cds" directory you just created.

%cp ~ee577/design_pdk/tsmc25/files/* ./cds/

%cp ~ee577/design_pdk/tsmc25/files/.cds* ./cds/

 

3.      Make sure the following files are located at your cds directory by using ls -A command on the command prompt.

.cdsinit        // cadence initialized file
.cdsplotinit    // cadence printing setup file
cds.lib         // cadence library setup file
schBindKeys.il    // Binding key files for shortcut keys

tsmc25.spice    // TSMC 25 spice parameters

leBindKeys.il   // Binding key files for shortcut keys

 

4.      Make sure you can run cadence tool by typing.

%which icfb
/usr/usc/cadence/2005/IC5033/tools/dfII/bin/icfb

 

5.      Always invoke "icfb" in your ~/cds directory because all setup files are in this directory.

Comment: In case that the tools are not working properly try to run at the command line  'source ~ee577/vlsi_tools.csh'.

(New, Only for Cadence Layout)

6.      Go to your home directory, open your .cshrc file and add the following lines at the end of this file:

        

             setenv CDK_DIR  /auto/home-scf-06/ee577/design_pdk/ncsu-cdk-1.5.1

             setenv CDS_Netlisting_Mode Analog

 

7.      Close the .cshrc file and source this file by typing the following command:

 

             %source  .cshrc

 

8.      Open the library file cds.lib which is located in your cds directory and add the following line to it:

 

            INCLUDE  $CDK_DIR/cdssetup/cds.lib

 

9.      Copy the cadence environment files to your cds working directory by typing the following command while you are in your home directory:

 

            cp  ~ee577/design_pdk/ncsu-cdk-1.5.1/cdssetup/cdsinit  ./cds/.cdsinit

 

10.  Copy the .simrc file in your cds directory by typing the following command while you are in your home directory:

 

            cp  ~ee577/design_pdk/ncsu-cdk-1.5.1/cdssetup/simrc  ./cds/.simrc

 

Note that the name of the file that you are accessing is “cdsinit” but you need to save it as “.cdsinit”. Also note that you may already have a “.cdsinit” file from the past in your cds directory. In this case you still need to overwrite it by this new file.

·        Cadence Online help

1.      Make sure you can run cadence online help by typing

%which cdsdoc

/usr/usc/cadence/2005/IC5033/tools/bin/cdsdoc

·        Using Putty for windows users

To use putty to invoke graphic tools such as Cadence ICFB you have to set the DISPLAY environment and make sure that you 
have XWin32 installed in your system. If you are running on windows environment use and then type Run -> cmd to start the 
windows command prompt. On the command prompt execute
C:> ipconfig /all
Find out the IP address and then on the putty terminal
%setenv DISPLAY your_ip_address:0.0  
and then start icfb or cdsdoc or magic
For more help on using putty please refer to the following link http://the.earth.li/~sgtatham/putty/0.56/htmldoc/ 
 

 In case of any bug or comment please email to pgolani@usc.edu or pabeerel@usc.edu

 

 


 

 

The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees