EE 421L
Digital Integrated Circuit Design Laboratory
Laboratory Report 1: Laboratory Introduction, Generating/Posting HTML Lab Reports, Installing and Using Cadence

 

AUTHOR: Bryan Kerstetter

EMAIL: kerstett@unlv.nevada.edu

SEPTEMBER 4, 2019


General Overview

This laboratory regards the introduction of editing webpages in HTML on CMOSedu. While also explaining the installation process of Cadence and a basic introduction to the software.


Prelab

Drafting laboratory reports in HTML was reviewed from my experience in EE 420L this past spring. I requested a CMOSedu account from Dr. Baker for this laboratory. I also created a Laboratory Report Repository on CMOSedu to store all my HTML Laboratory reports for this laboratory.

Description of Laboratory Procedures

1.     Installing Cadence

I followed the “Help Using Remote X for UNLV Students” on CMOSedu. I first downloaded MobaXterm and installed the software.

Figure 1

A Cadence account was created, and a password was set. The following command was entered to access my account on the UNLV ECE Cadence server:

ssh -Y kerstett@csimcluster.ee.unlv.edu

The Linux command, ssh (Secure Shell), is a network protocol that can be used to access a computer in a secure manner over an unsecure network.

Figure 2

Once my account on the UNLV ECE Cadence server was accessed, I went ahead and download the NCSU Cadence Design Kit (CDK) Version 1.6.0 Beta.

Figure 3

Figure 4

I downloaded the tar file given by the NCSU EDA website entitled:

NCSU-CDK-1.6.0.beta.tar

I then moved that tar file to my home directory and extracted the tar file as seen in Figure 5.

Figure 5

I extracted the archive by using the following commands:

tar -xvf NCSU-CDK-1.6.0.beta.tar 
tar -xvf ncsu-cdk-1.6.0.beta.tar.gz

A directory was then made by using the following command:

mkdir CMOSedu

The following copy command was executed:

cp -a $HOME/ncsu-cdk-1.6.0.beta/cdssetup/. $HOME/CMOSedu/

Everything was copied from the directory $HOME/ncsu-cdk-1.6.0.beta/cdssetup to the directory $HOME/CMOSedu as evidenced in Figure 6.

Figure 6

The files cdsinitsimrc, and cdsenv were renamed to .cdsinit, .simrc, and .cdsenv (added period to beginning).

Figure 7

The cadence libraries were located and then I went to the CMOSedu directory that was recently created. I added the following three DEFINE statements to the cds.lib file in the CMOSedu directory.

DEFINE analogLib /share/apps/cadence/IC615/tools.lnx86/dfII/etc/cdslib/artist/analogLib
DEFINE functional /share/apps/cadence/IC615/tools.lnx86/dfII/etc/cdslib/artist/functional
DEFINE sbaLib /share/apps/cadence/IC615/tools.lnx86/dfII/etc/cdslib/artist/sbaLib

Figure 8

The .bashrc file in the home directory was accessed and the following Bash export commands were added to the file.

export SPECTRE_DEFAULTS=-E
export CDS_Netlisting_Mode=Analog
export CDS_LOAD_ENV=CWDElseHome
export CDK_DIR=$HOME/ncsu-cdk-1.6.0.beta

Figure 9

Next we downloaded the Cadence_IC61_CMOSedu.zip and moved the zip file to our CMOSedu directory in our Home directory. Then we added the 40 DEFINE statements in  cds_lib_IC61.txt to the bottom of the cds.lib file. Such that the cds.lib file looks like what is seen in Figure 10.

Figure 10

Finally, we may open the Cadence Virtuoso design environment by typing the following command while in the CMOSedu directory:

virtuoso &

Cadence’s Command Interpreter Window (CIW) then opened as seen in Figure 11.

 

Figure 11

Cadence’s Library Manager can be seen below in Figure 12.

Figure 12

2.     Using Cadence

This following section is following Tutorial One: Layout and Simulation of a Resistive Voltage Divider on CMOSedu, up to the 25th image (the first transient simulation of the resistive voltage divider). A library with the name of Tutorial_1 was created as seen in Figure 13. The technology library that was chosen was the AMI 0.60u C5N (3M, 2P, high-res).

Figure 13

Looking at cds.lib, file we can see that the following line is included:

DEFINE Tutorial_1 /home/kerstett/CMOSedu/Tutorial_1

Figure 14

A created a simple resistive voltage divider in Cadence as seen in Figure 15.

Figure 15

It was ensured that Spectre was the simulator selected.

Figure 16

A transient simulation with the following parameters was executed.

Figure 17

The results of the transient simulation can be seen below in Figure 18. The resistive voltage divider is confirmed to have worked.

Figure 18

The library used for this laboratory was backed up on Google Drive. I have Google Drive’s File Stream installed so that I can easily upload files to my Google Drive. I will ensure that all my work that I have done in this laboratory is backed up.

Figure 19: Backed up on Google Drive’s File Stream

Figure 20: Backed up on Google Drive


Return

Return to EE 421L Students

Return to EE 421L Fall 2019 Page

Return to Dr. Baker’s CMOSedu homepage

 

HowardHughes_Engineering