setup_ibm13

IBM 130nm Process Setup
Introduction to IBM013 slides and tapeout schedule is [|here]. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Setup for Cadence & the IBM .13um process. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

1) Make a project directory and cd into it. Maybe something like:

mkdir ~/Projects/IBM13/Designs cd ~/Projects/IBM13/Designs

2) Now make symbolic links to all of these files and directories. (If you are reading this on linux, you can just select this whole block, and middle-click in your xterm to paste.)

ln -s /usr/nikola/groups/vlsi/data/cmrf8sf_DM/IBM_PDK/cmrf8sf/relDM/cdslib/examples/.cdsenv ln -s /usr/nikola/groups/vlsi/.@sys/pkgs/cadence/ic/.5.0.32/tools.lnx86/dfII/cdsuser/.cdsinit ln -s /usr/nikola/groups/vlsi/data/cmrf8sf_DM/IBM_PDK/cmrf8sf/relDM/Assura/ ln -s /usr/nikola/groups/vlsi/data/cmrf8sf_DM/IBM_PDK/cmrf8sf/relDM/cdslib/Skill/ ln -s /usr/nikola/groups/vlsi/data/cmrf8sf_DM/IBM_PDK/cmrf8sf/relDM/cdslib/cmrf8sf/cds2gds.map ln -s /usr/nikola/groups/vlsi/data/cmrf8sf_DM/IBM_PDK/cmrf8sf/relDM/cdslib/cmrf8sf/display.drf ln -s /usr/nikola/groups/vlsi/data/cmrf8sf_DM/IBM_PDK/cmrf8sf/relDM/Spectre/models/ ln -s /usr/nikola/groups/vlsi/.@sys/pkgs/cadence/ic/.5.0.32/tools.lnx86/dfII/samples/local/schBindKeys.il

Note that some of these are just my best guess at what we should be using, but this seems to work as far as I have tried it.

3) Copy my cds.lib into your project directory cp ~hollemj/cds.lib . //NB: The above pointer no longer works. Need to use a reliable link or post cds.lib file on this wiki.//

4) Put the following lines in ~/.cshrc.local

source /usr/nikola/groups/vlsi/pkgs/cadence_ic/cadence_ic.cshrc setenv LANG C setenv LD_ASSUME_KERNEL 2.4.1

5) Log out, log back in, cd into your project directory, and you should be able to start cadence with "icfb".

6) If you get some errors on login and icfb can't be found, you may have "windows-ized" your .cshrc or .cshrc.local. Try this: dos2unix .cshrc dos2unix .cshrc.local

If you don't have a unix setup you like and you are using tcsh as your shell, feel free to use my dot files as a starting point.

cp ~hollemj/.cshrc.local ~ cp ~hollemj/.aliases ~

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Miscellaneous Notes. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Copy cds.lib from jeremy. -- File Created by Jeremiah Henry Iii Holleman at Fri Mar 3 17:37:41 2006 -- assisted by CdsLibEditor -- All of these DEFINE statements should be included in the INCLUDE files -- DEFINE basic ../../../etc/cdslib/basic -- DEFINE US_8ths ../../../etc/cdslib/sheets/US_8ths -- DEFINE analogLib ../../../etc/cdslib/artist/analogLib -- DEFINE functional ../../../etc/cdslib/artist/functional -- DEFINE rfLib ../../../samples/artist/rfLib -- DEFINE rfExamples ../../../samples/artist/rfExamples -- DEFINE ahdlLib ../../../samples/artist/ahdlLib INCLUDE /afs/ee.washington.edu/nikola/groups/vlsi/.@sys/pkgs/cadence/ic/.5.0.32/tools.ln x86/dfII/etc/cdsDotLibs/artist/cds.lib INCLUDE /afs/ee.washington.edu/nikola/groups/vlsi/.@sys/pkgs/cadence/ic/.5.0.32/tools.ln x86/dfII/etc/cdsDotLibs/composer/cds.lib INCLUDE /afs/ee.washington.edu/nikola/groups/vlsi/.@sys/pkgs/cadence/ic/.5.0.32/tools.ln x86/dfII/etc/cdsDotLibs/spectre/cds.lib DEFINE cmrf8sf /afs/ee.washington.edu/nikola/groups/vlsi/data/cmrf8sf_DM/IBM_PDK/cmrf8sf/relDM/ cdslib/cmrf8sf DEFINE testlib /n/vlsifiles/d1/wsl/home/hollemj/Designs/testlib

relDM/ is soft-link to V1.2.1.7DM/ PDK is in this directory: /afs/ee.washington.edu/nikola/groups/vlsi/data/cmrf8sf_DM/IBM_PDK/cmrf8sf/relDM

These are the links created by mkproj35. assura_tech.lib@ display.drf@ icc@ skill@ cds.lib dracula@ models@ stream.map@

Note from Seth: Another link to add is this stuff from Ania's pages. Fix links: On haku, we had the link:

/projects/diorio_cad/software/cadence/linux/ic5.0.33/tools/dfII/local -> ... /projects/diorio_cad/software/local/init/

So on alcatraz, we need to:

rm /cad/linux/ic5.0.33/tools/dfII/init cd /cad/linux/ic5.0.33/tools/dfII/ ln -s ../../../../local/init

From Seth: This error: Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.

can be fixed with these lines: setenv LANG C setenv LD_ASSUME_KERNEL 2.4.1

and it seems to work.

/usr/nikola points to /afs/blah/nikola

Keyboard shortcuts??? source schBindKeys.il from .cdsinit

This one: /afs/ee.washington.edu/nikola/groups/vlsi/.@sys/pkgs/cadence/ic/.5.0.32/tools.ln x86/dfII/samples/local/schBindKeys.il

seems to have more of the keys that I'm used to defined than the version sourced by the PDK's example .cdsinit file, but the PDK's version seems to have some handy process-specific stuff available from a menu in the CIW. There should be a way to get both.

In the PDK there is this .cdsinit file,

/afs/ee.washington.edu/nikola/groups/vlsi/data/cmrf8sf_DM/IBM_PDK/cmrf8sf/relDM/ cdslib/examples/.cdsinit

In the cadence tree there are these .cdsinit files.

./.5.0.32/tools.lnx86/dfII/samples/artist/monteCarlo/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/artist/optimization/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/artist/corners/artistExample/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/artist/mixSig/adc/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/artist/mixSig/ccadc/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/artist/mixSig/ieTest/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/artist/mixSig/inhConnTest/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/artist/mixSig/msps/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/artist/mixSig/pll/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/artist/mixSig/vhdlImport/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/tutorials/composer/dotfiles/sun/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/tutorials/composer/dotfiles/dec/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/tutorials/composer/dotfiles/ibm/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/tutorials/composer/dotfiles/hp/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/tutorials/composer/.cdsinit ./.5.0.32/tools.lnx86/dfII/samples/tutorials/le/cell_design/.cdsinit ./.5.0.32/tools.lnx86/dfII/cdsuser/.cdsinit

Create a symbolic link to a directory or a file like this: ln -s filename ln -s dirname

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Sample cds.lib file %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

-- All of these DEFINE statements should be included in the INCLUDE files -- DEFINE basic ../../../etc/cdslib/basic -- DEFINE US_8ths ../../../etc/cdslib/sheets/US_8ths -- DEFINE analogLib ../../../etc/cdslib/artist/analogLib -- DEFINE functional ../../../etc/cdslib/artist/functional -- DEFINE rfLib ../../../samples/artist/rfLib -- DEFINE rfExamples ../../../samples/artist/rfExamples -- DEFINE ahdlLib ../../../samples/artist/ahdlLib INCLUDE /usr/nikola/groups/vlsi/pkgs/cadence/ic/current/tools/dfII/etc/cdsDotLibs/artist/cds.lib INCLUDE /usr/nikola/groups/vlsi/pkgs/cadence/ic/current/tools/dfII/etc/cdsDotLibs/composer/cds.lib INCLUDE /usr/nikola/groups/vlsi/pkgs/cadence/ic/current/tools/dfII/etc/cdsDotLibs/spectre/cds.lib DEFINE cmrf8sf /usr/nikola/groups/vlsi/data/cmrf8sf_DM/IBM_PDK/cmrf8sf/relDM/cdslib/cmrf8sf DEFINE esd8rf /usr/nikola/groups/vlsi/data/cmrf8sf_DM/IBM_PDK/cmrf8sf/relDM/cdslib/esd8rf DEFINE artisan /usr/nikola/groups/vlsi/data/artisan/8RF_STD_12_SAGE/aci/sc-x/symbols/cadence/ibm13 DEFINE avTech /usr/nikola/groups/vlsi/pkgs/assura/.current/tools/assura/etc/avtech/avTech DEFINE Logic12 /n/vlsifiles/d1/wsl/home/hollemj/Designs/Logic12 DEFINE ripper /afs/ee.washington.edu/nikola/groups/vlsi/.ws30-ia32/pkgs/cadence/ic/.5.1.41/tools.lnx86/dfII/etc/dci/ripper DEFINE 8RF_Pads_shailesh /homes/shailesh/Research/8RF/Designs/8RF_Pads DEFINE Pads8RF /n/vlsifiles/d1/wsl/home/hollemj/Designs/Pads8RF DEFINE cg_lib13 /n/vlsifiles/d1/wsl/home/hollemj/Designs/cg_lib13 DEFINE Sheets /n/vlsifiles/d1/wsl/home/hollemj/Designs/Sheets