Setting Up Unix Environment

Before starting CADENCE, there are a few setup files that are needed in your working directory. These files determine the environment in which CADENCE run and can be edited to suit personal preference. This tutorial will be using the NCSU CDK(N.C. State University Cadence Design Kit) which is for MOSIS SCMOS rules.


Set up your working directory:

You will need to create a working directory on your home. To do this, type:

          cd ~
          mkdir cadence (e.g.)

In order to run the CADENCE in your working directory, you need to do several things. Go to the cadence directory you made before by typing:

          cd cadence

To create setup files (.cdsinit, .cdsenv, .cdsplotinit, .simrc, cds.lib, display.drf) in your working directory, type:

           cp /usr/local/cadence/NCSU/.cdsinit  ./.cdsinit
           cp /usr/local/cadence/NCSU/.cdsenv  ./.cdsenv
           cp /usr/local/cadence/NCSU/.cdsplotinit  ./cdsplotinit
           cp /usr/local/cadence/NCSU/.simrc  ./.simrc
           cp /usr/local/cadence/NCSU/cds.lib  ./cds.lib
           cp /usr/local/cadence/NCSU/display.drf  ./display.drf


Create a configuration file (.cshrc) in your working direcotry by typing:

            cp /usr/local/cadence/NCSU/.cshrc  ./ncsu.cshrc

          

Type ls -a in your working directory. You should see the files you copy there.

To use NCSU design kit, you need to re-source it in the current terminal window. Type:

                              source ncsu.cshrc

Now, you should be able to run CADENCE with NCSU CDK. There are several ways to start CADENCE depending on which features are needed.
We will use icfb which is for front to back design. For starters, use icfb by typing the following in your working directory:

                               icfb&

In order to quit CADENCE, select File and Exit for CIW pull-down menu. A message window appears to confirm your command. Select OK to exit.





Home   Next Tutorial