Lab 1 - ECE 421L 

Abel De La Torre,

September 19, 2014 

  

Lab description: Lab 1, generating/posting html lab reports, installing and using Cadence.

 

download NCSU Cadence Design Kit

labPic1.PNG

Download and Install MobaXterm Profesional Edition

labPic2.PNG

Log into csimcluster server using MobaXterm Profesional Edition just installed

Use your SSH csimcluster info to log in

labPic3.PNG

Extracted folder ncsu-cdk-1.6.0.beta to your home folder (directory) using the tar command

labPic5.PNG

Now we must create a CMOSedu directory

labPic6.PNG

You can see the CMOSedu directory on the left panel as well as ncsu-cdk-1.6.0.beta folder directory

labPic4.PNG

Start Virtuoso using (virtuoso & )

labPic7.PNG

Open the .bashrc file and add the following lines

export SPECTRE_DEFAULTS=-E

export CDS_Netlisting_Mode=Analog

export CDS_LOAD_ENV=CWDElseHome

export CDK_DIR=$HOME/ncsu-cdk-1.6.0.beta

as shown below

labPic8.PNG

Go into CMOSedu directory, open cds.lib file and add the following lines:

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

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

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

as shown below

cap

After starting Virtuoso, and re-sizing windows, the following should appear

The bottom window is called the Command Interpreter Window it needs to stay visible since it tells us what the tools are doing. the top window is the Library Manager.

labPic9.PNG

Next let’s create a new library by going to, in the Library Manager, File -> New -> Library. The window to create this library, after pressing OK,

labPic10.PNG

go to the menu and Launch -> ADE L as seen below.

labPic16.PNG

To simulate with Spectre (Cadence’s SPICE simulator).  This will be the simulator we will be using.

labPic11.PNG

In the ADE window use the menu items Session -> Save State and select Cellview then OK as seen below.To load this state we select, in the ADE window, Session -> Load State and Cellview then OK. 

labPic12.PNG

labPic13.PNG

Next connect all the components with wire (press w) , sources and resistors using (I)

labPic15.PNG

The ADE should now look like the following window ready to run the simulation

labPic14.PNG

In the ADE window use the menu items Session -> Save State and select Cellview then OK as seen below.

labPic18.PNG

Now pressing the green button and running the simulation results in the following.

labPic19.PNG

Display of the simulation shown below

labPic20.PNG

After completing every lab it is adviced to backup your work by emailing the files to yourself

Return to EE 421L Labs