Cadence Setup Guide: ECE 410 (ver. S06: modified for using spectre) Document Contents Introduction How to Setup Cadence for the First Time What to Do Each Time You Run Cadence Additional Resources Introduction This document provides step-by-step instructions for setting up your ECE 410 class directory to use the Cadence design tools. It also shows the steps you will have to complete each time you want to run Cadence after the initial setup. How to Setup Cadence for the First Time Initial Setup • Login to a UNIX machine (e.g., in EB 2200) using your egr account. You are strongly encouraged to use the Common Desktop Environment (CDE) when you log in. The guides and tutorials may not be compatible with the GNOME environment. o At the login screen (before entering your userid) click and hold on the Options button o Select Sessions and then select Common Desktop Environment o Enter your userid and password to log in • Right click on the desktop and press Utilities/Terminal to get a command prompt window. • Copy the .cdsinit and .cdsenv set up files into your home directory by typing the following command lines at the terminal prompt: cp /egr/courses/personal/ece410/resources/.cdsinit ~ cp /egr/courses/personal/ece410/resources/.cdsenv ~ These files will set up the Cadence simulation environment to use the spectre simulator and AMI06 transistor models by default. Copying these files to your home directory will apply these settings to all sessions of Cadence that run from your engineering account (including any other class that you might use Cadence for). If this will cause a problem for you, contact a TA for an alternative. • Change to your ECE 410 directory by typing the following in the command prompt cd /egr/courses/personal/ece410/<username> (space after cd) • Create a directory called cadence by typing mkdir cadence This will create a subdirectory where you should keep all of your Cadence files. You should always launch Cadence from this directory. • Go to the directory ‘cadence’ by typing cd cadence Cadence Setup Guide: ECE 410 1• Type source $SOFT/cadence (case sensitive) This command sets up your directory to work with Cadence, installing some necessary files (libraries) and linking to appropriate network files. • Type icfb& The ‘&’ is not required but will allow you to continue using the command prompt window while Cadence is running. You should always launch Cadence tools from your ‘cadence’ subdirectory. The icfb command will invoke the Cadence session. Two windows will open. The small window is known as the Command Interpreter Window (CIW) and will be present throughout your session. The other window is known as the Library Manager and it keeps track of all design files you create. In the Library Manager window you should see the following libraries. If you do not, please consult a TA as soon as possible. - NCSU_Analog_Parts - NCSU_Digital_Parts - cdsDefTechLib - basic Exiting Cadence This completes the initial setup for Cadence. If you plan to continue using Cadence (e.g., to do an assignment) skip this step. To exit Cadence, in the Command Interpreter Window (CIW) select File->Exit What to Do Each Time You Run Cadence After the initial setup, each time you run Cadence you need to first complete the following steps: • Login to a UNIX machines using your egr account. • Right click on the desktop and press Utilities/Terminal to get a command prompt window. • Change to your ECE 410 directory by typing the following in the command prompt cd /egr/courses/personal/ece410/<username>/cadence • Type source $SOFT/cadence (case sensitive) • Type icfb& to launch the Cadence tool. Additional Resources The class website has several helpful documents/links. See UNIX Tips for information on modifying your UNIX login to simplify running the Cadence software. See the Troubleshooting Guide for many answers to common problems. Detailed information for specific tools can be found in the linked Cadence Manuals. If you are not experienced with UNIX, the link to the DECS UNIX help page contains descriptions of basic UNIX commands. Cadence Setup Guide: ECE 410
View Full Document