Lab 1 - ECE 421L 

Ting Yu,

September 5, 2014 

  

Lab description: This lab will go through the first part of Tutorial 1 from here

 

First download NCSU Cadence Design Kit(CDK) from here to your desktop and extract

CDK

Then, log into csimcluster server using MobaXterm and add the extracted folder, ncsu-cdk-1.6.0.beta to your home directory

MobaXterm

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

In terminal window type the command $ ..bashrc (This will re-source the file)

Next, make a new directory called CMOSedu, copy everything from $HOME/ncsu-cdk-1.6.0.beta/cdssetup to $HOME/CMOSedu Remember to add a period to these files to look like these: .cdsinit, .simrc, and .cdsenv

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

Set the default simluator to SPECTRE in Cadance by adding envSetVal("asimenv.startup" "simulator" 'string "spectre") to the .cdsinit file.

Then, updated there files divaDRC.rul, divaEXT.rul, and divaLVS.rul in $HOME/ncsu-cdk-1.6.0.beta/lib/NCSU_TechLib_ami06 by deleting and adding the files from here diva rules files.zip

Start Candance with the command $ cd CMOSedu and $ virtuoso &
candance

Next we can create a new library by selecting File -> New -> Library as seem below and select AMI 0.06u C5N (3M 2F, high-res)

1

Next select Tutorial_1 and then File -> New -> Cell View

2

The Schematic Editior will open up, select Create -> Instance (or press i) to add components

3

Find all the components and layout the displya like shown below

4

Next connect all the components with wire (press w)

5

Then label the wires with signal names (press l)

7

Check and save. Then select Launch -> ADE L
Then select Analyses and set to tran with stop time at 1

6


Select Output -> to Be Plotted -> Select on Schematic

8

And double click on the wires on the Schematic that you want simulation on

9

Hit the green play bottom to simulate

10

Simulation is displayed

11

Always remember to backup the work by compress the lab1 folder into "lab1.rar" and email it to yourself. 

backup

Return to EE421L Labs