Tutorials: Difference between revisions

From VLSI
Jump to navigation Jump to search
Xhyu (talk | contribs)
Sjnystro (talk | contribs)
 
(42 intermediate revisions by 10 users not shown)
Line 1: Line 1:
==Analog/Mixed-Signal Software Tutorials==
==Analog/Mixed-Signal Software Tutorials==
*[[icfb setup]] - How to set up and run Cadence Virtuoso front-to-back IC design toolset for the first time
*[[Neocircuit setup]] - Setup for Neocircuit, a sophisticated circuit-optimization tool
*[[Neocircuit setup]] - Setup for Neocircuit, a sophisticated circuit-optimization tool
*[[Creating a Parameterized Cell in Cadence]] - Basic tutorial for creating custom parameterized cells in Cadence
*[[Creating a Parameterized Cell in Cadence]] - Basic tutorial for creating custom parameterized cells in Cadence
*[[RFIC dynamic link setup]] - How to set up RFIC dynamic link (IDF) that provides an integration interface between ADS and the Cadence Analog Environment.


==Analog Simulation Techniques==
==Analog Simulation Techniques==
Line 8: Line 8:
*[[Mixer Performance Simulations]] - How to simulate a mixer using SpectreRF
*[[Mixer Performance Simulations]] - How to simulate a mixer using SpectreRF
*[[VCO Performance Simulations]] - How to simulate a voltage controlled oscillator using SpectreRF
*[[VCO Performance Simulations]] - How to simulate a voltage controlled oscillator using SpectreRF
*[[Integrated Inductor Design using ADS Momentum]] - Integrated inductor design procedure using Cadence and ADS Momentum
*[[Integrated Inductor Design using ADS Momentum]] - Integrated inductor design procedure using Cadence and ADS 2011 Momentum
*[[Simulations using ADE (G)XL]] - How to perform schematic, corner, and postlayout simulation using ADE (G)XL (Last update 8/14/2012)
*[[Simulations using Cadence OCEAN Scripts]] - How to setup simulations and run them automatically (in Progress, last update 5/29/2013)


==Cadence 6.1==
==Cadence 6.1==
During the summer of 2011 ISU will be migrating all student labs to Cadence 6.1. Tutorials pertaining to Cadence 6.1 are being created and will appear here during late Spring 2011 semester.
During the summer of 2011 ISU migrated all student labs to Cadence 6.15. Tutorials pertaining to Cadence 6.18 are being created and will appear here.


:: [[Setup to have your Cadence 6.1 work in Linux servers]]
*[[Cadence 6.1 Setup]] - updated on August 23, 2011
1. Edit your .software file (loading the environment setting of the desired tools) in your home directory using
*[[Migration from Cadence 5.14 to Cadence 6.x]] - updated on August 25, 2011
<blockquote><code><pre>
*[[Setup for 130nm IBM PDK]] - updated on May 8, 2015
gedit ~/.software
*[[Cadence Encounter Steps for EE465]] - updated on December 8, 2015
</pre></code></blockquote>
It should include at least MMSIM, ASSURA and IC. CALIBRE and IUS may be included if they are needed. A sample file may be as
<blockquote><code><pre>
MMSIM
CALIBRE
IUS
ASSURA
IC
</pre></code></blockquote>


2. Edit your .cdsenv file (setting the default setup of your Cadence environment) in your home directory
==Linux Remote Access==
 
You can find instructions for logging into campus Linux servers here: https://it.ece.iastate.edu/remote/
<blockquote><code><pre>
gedit ~/.cdsenv
</pre></code></blockquote>
 
and add the following scripts to .cdsenv
 
<blockquote><code><pre>
;--------------------------------------------------------------------------
; Analog Artist Simulation Environment Defaults
; FORMAT: tool[.partition] varName type value private {choices, minmax} comment
;--------------------------------------------------------------------------
asimenv.startup      simulator      string  "spectre"
 
;--------------------------------------------------------------------------
; Graphics Editor and Design Editor Environment Variables
;--------------------------------------------------------------------------
graphic      drfPath string  "/usr/local/cadence/iclocal/local/cdssetup/display.drf"
 
;--------------------------------------------------------------------------
; spectre environment variables
;--------------------------------------------------------------------------
spectre.envOpts    modelFiles      string  "$CDK_DIR/models/spectre/standalone/tsmc25N.m \
                                            $CDK_DIR/models/spectre/standalone/tsmc25P.m \
                                            $CDK_DIR/models/spectre/standalone/tsmc35N.m \
                                            $CDK_DIR/models/spectre/standalone/tsmc35P.m \
                                            $CDK_DIR/models/spectre/standalone/ami06N.m \
                                            $CDK_DIR/models/spectre/standalone/ami06P.m"


spectre.envOpts controlMode string "batch"
==Lab Equipment==
</pre></code></blockquote>
Lab equipment tutorial for EE330 including LabVIEW Signal Express and Parameter Analyzer.
to set the default simulator as Spectre and set the correct model files for NCSU PDK.


You may also add the following script to setup the default directory to store simulation results.
*[http://www.ece.iastate.edu/~taoc/uploads/9/9/5/0/9950803/ee_330_signal_express.pdf LabVIEW Signal Express Tutorial]
<blockquote><code><pre>
*[http://www.ece.iastate.edu/~taoc/uploads/9/9/5/0/9950803/lab7_hp_4155a_guide.pdf Parameter Analyzer Tutorial]
asimenv.startup      projectDir      string  "~/cadence/simulation"
</pre></code></blockquote>
 
 
3. If you are using NCSU PDK, copy cdsinit file to your working directory
 
<blockquote><code><pre>
cd <path to your working directory>
cp $CDK_DIR/cdssetup/cdsinit .cdsinit
</pre></code></blockquote>
 
4. If you need to use Calibre, add the following script to your .cdsinit file in the working directory.
<blockquote><code><pre>
 
;; Calibre setup
 
;; Load Calibre Skill Interface if environment var is set
mgc_home=getShellEnvVar("MGC_HOME")
 
if( mgc_home!=nil && isDir(mgc_home) && isReadable(mgc_home) then
    ; Load calibre.skl for Cadence versions 4.4 and greater
    load(strcat(mgc_home "/shared/pkgs/icv/tools/queryskl/calibre.skl"))
else
    ; MGC_HOME is not set
    printf("Calibre Skill Interface not loaded.\n")
)
;; End of Calibre Skill Interface
 
 
</pre></code></blockquote>
 
5. If you ever use $CDS_SITE in your configuration files, define CDS_SITE in your .basrhc file. (You probably need it if you use Cadence 5.4 in the linux servers before July 2011.)
<blockquote><code><pre>
gedit ~/.bashrc
</pre></code></blockquote>
and add
<blockquote><code><pre>
export CDS_SITE /usr/local/cadence/iclocal/local
</pre></code></blockquote>
 
updated on August 16. 2011
 
==Linux Remote Access==
You can remote acess into campus Linux servers listed at http://it.eng.iastate.edu/remote.html.  A recommended software tool is NX Client by NoMachine, which can be downloaded at http://www.nomachine.com/download.php.  Download the free client for Windows as well as the nxfonts addons.  After installing the client, you will go through a wizard process at first launch.  Give any name for "Session" and fill in the remote server address for "Host".  You may leave everything as default.  Lastly, login using your ISU netid and password.

Latest revision as of 22:29, 20 September 2019

Analog/Mixed-Signal Software Tutorials

Analog Simulation Techniques

Cadence 6.1

During the summer of 2011 ISU migrated all student labs to Cadence 6.15. Tutorials pertaining to Cadence 6.18 are being created and will appear here.

Linux Remote Access

You can find instructions for logging into campus Linux servers here: https://it.ece.iastate.edu/remote/

Lab Equipment

Lab equipment tutorial for EE330 including LabVIEW Signal Express and Parameter Analyzer.