Setup and Navigation.

Start MobaXterm


This is your command terminal which is used to access the Cadence server

To connect to the server type in the command window "ssh -Y -C <your_assigned_name>@yiyanli.fortlewis.edu" and then press enter( see sample below)


You will now be asked to type in your temporary password. When you are typing in your password nothing will display on the screen.

The following will appear:


Retype your temporary password to get the following couple of lines.  Nothing will display as you are typing your password.


Now Type in your new password it must meet these requirements:

This ensures that the terminal will not freak-out at you and that your account is secure. 

When done correctly your connection will be closed



To re-login type in the terminal window "ssh -Y -C <your_assined_name>@yiyanli.fortlewis.edu" and press enter. Or recall the previous command by pressing up arrow and then enter.
Type in your new password and the following will appear:



Now, in the command window type in "clear" then enter to clear the command window.




                                                       Using the Command Window

WHEN ITS TIME LOGOUT TYPE IN THE COMMAND WINDOW "EXIT" THEN PRESS ENTER IF THAT DOES NOT WORK, IN THE COMMAND WINDOW PRESS "CTRL AND C"



In the terminal you will need to know a few commands now that initial set up is done.
To run a command type in the command in and then press "enter" or "return"



This place is called your home directory. This is where you will navigate from to setup and start Cadence.
The "~" will change to indicate your current directory. "~" is your home directory.  Directories are case sensitive. 

Now the directory is Users. 



The "cd" command will take you from any directory and return you back to your home directory.
Below the cd command is taking me from Users back to my home directory ~



To move up a directory type "cd .."  then press enter



To view directories that you are able to move down into type in the command window "ls", to view everything in a directory including hidden files type "ls -la"




To move down a directory type cd <namedirecotry>  and press enter.

In the sequence below I use the "ls" command to see which directories I can move to.  Then I type  "cd Users" to move down the Users directory. 

Finally I type " cd <username>" and low and behold I'm back to my home directory


"pwd" is a very useful function.  When typed into the terminal it displays the entire path to your location. This is the absolute path to my home directory (underlined in red).

To get help on any command type " <command> --help". Using "cp --help" , where "cp" is the is the copy command we get:


In most cases it will tell you the usage of the command and all of the arguments that can be used with the command (underlined in red)

       Getting Cadence and Virtuoso started. 

1.) Edit the .bashrc file

Navigate to your home directory.   

.bashrc is a hidden file. To see it type "ls -la" in to the command window.


To edit, type into the command window "vi .bashrc" or "nano .bashrc" or use your favorite txt editor.

Add the following to the .bashrc file.

export CDSHOME=/cadence/
export MMSIMHOME=/cadence/SPECTRE181/
export PATH=$CDSHOME/tools/bin:$CDSHOME/tools/dfII/bin:$MMSIMHOME/tools/bin:$MMSIMHOME/tools/dfII/bin:$PATH
export CDS_AUTO_64BIT=ALL
export LD_LIBRARY_PATH=$AMSHOME/tools/lib:$CDSHOME/tools.lnx86/lib:/usr/lib:/usr/dt/lib:/usr/openwin/lib:
/usr/lib:$AMSHOME/tools/lib:/usr/dt/lib:/usr/openwin/lib:$CDSHOME/tools.lnx86/lib:$AMSHOME/tools/lib/
64bit:$AMSHOME/tools/lib:$LD_LIBRARY_PATH

export CDS_LIC_FILE=5280@obelisk.srv.fortlewis.edu
export SPECTRE_DEFAULTS=-E
export CDS_Netlisting_Mode=Analog
export CDS_LOAD_ENV=CWDElseHome
export CDK_DIR=/4Tbhardrive/ncsu-cdk-1.6.0.beta

The final file should look like this:


Save then quit the .bashrc file. 

To re-initialize the file type ". .bashrc" into the command window

We will now copy over CMOSedu to your home directory.

Copy  it over to your home directory using the command   "cp -r /4Tbhardrive/CMOSedu   <Your home direcotry> "        (where r means recursive)

To determine your home directory use the "pwd" command. Below is how to determine everything from scratch using only the commands we know how to do.  The last "ls"  is to see if there is a CMOSedu directory in our home directory.

 Navigate into to the CMOSedu that is now in your home directory.  

Add the following lines to cds.lib file using your favorite txt editor.  

DEFINE analogLib /cadence/tools.lnx86/dfII/etc/cdslib/artist/analogLib

DEFINE functional /cadence/tools.lnx86/dfII/etc/cdslib/artist/functional

DEFINE sbaLib /cadence/tools.lnx86/dfII/etc/cdslib/artist/sbaLib

The finished file should look like this:



The cds.lib are where the cadence libraries are defined. 

Set the simulator default to "spectre" open the .cdsenv file. Then change the simulator from "hspiceD" to "spectre".


Start MobaXterm

 HOW TO START

To start Virtuoso navigate to the CMOSedu and type "virtuoso &" in the command window

"&" will allow you to still use the command window.

If you get an error:


Then navigate back to your home directory and type ". .bashrc" into the command window, Then navigate back to CMOSedu and type "virtuoso &"

 TO LOGOUT, CLOSE CANDENCE THEN,TYPE IN THE COMMAND WINDOW "EXIT" THEN PRESS ENTER

Congragulations you have finished the Setup and Navigation tutorial. Continue on to Tutorial 1