Difference between revisions of "Technology Setup"

From Vlsiwiki
Jump to: navigation, search
(Creating a Library: Removed type-o in last sentence)
(Setup with bash)
(47 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 +
<div align=right>[[Creating_a_New_Project|2. Creating a New Project-->]]</div>
 +
 
== Connecting Remotely ==
 
== Connecting Remotely ==
  
First of all, the tools are only set up on mosis4.cse.ucsc.edu (for CMPE 222) or on any of the mada machines (for Jose and my research groups). You must run them remotely on the machines by exporting your X display:
+
=== From Linux/Unix ===
  
ssh -Y mosis4.cse.ucsc.edu
+
First of all, the tools are only set up on servers (waterdance.soe.ucsc.edu and riverdance.soe.ucsc.edu for CMPE222/223, your specific lab machine in CMPE125/CMPE126, or on any of the mada machines for the MASC and VLSI research groups).
  
and you must have an X11 client on your computer. You can do this from home if you have a fast machine. Otherwise, you must use the graduate computing labs.
+
You can run them remotely on the machines by exporting your X display:
  
== Setting up the CAD Tools ==
+
ssh -Y waterdance.soe.ucsc.edu
 +
or
 +
ssh -Y riverdance.soe.ucsc.edu
  
On this machine, all of the CAD tools are set up by a single setup file called /mada/software/setup.sh. It is written for bash, so you will need to run this shell first if you do not already. You can check your shell by typing:
+
and you must have an X11 client on your computer. Suggested X11 clients are
  
echo $SHELL
+
# X11.app in OSX
 +
# Xorg's XFree86 in Linux
 +
# Xming in Windows
  
If your default shell is cshrc (the SOE default), you can either a) request that the SOE change it via itrequest or b) run bash at the end of your .cshrc file.
+
You can do this from home if you have a fast internet connection. Otherwise, you must use the computing labs.
  
In your .bashrc file add the following lines:
+
=== Win32 Xming Setup===
  
source /mada/software/setup.sh
+
To display on a win32 machine (vista), you should do this:
  
For those who use csh or tcsh, you can get setup.csh here.
+
# Install xming from http://sourceforge.net/projects/xming/files/Xming/6.9.0.31/Xming-6-9-0-31-setup.exe/download
http://www.soe.ucsc.edu/~michael/setup.csh
+
# Install Xming fonts from http://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.25/Xming-fonts-7-5-0-25-setup.exe/download
 +
# Install putty from http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
 +
# Start Xming
 +
# start putty (an SSH client)
 +
# in the "SSH->Tunnels" page of putty, click on "Enable X forwarding"
 +
# In the Session page of putty, write the hostname (riverdance.soe.ucsc.edu). You can also write your username like this username@riverdance.soe.ucsc.edu. Hit "Save" to save the session for future use
 +
# Hit "Open" to start your session
  
You must now log out and log back in to get the new setup.
+
Any X application (e.g. xcalc) should now work by displaying to your local machine
  
== Creating a project directory ==
+
== Setting up the CAD Tools ==
  
The first thing you must do is copy the system wide technology library to your home directory:
+
You can check your shell by typing:  
  
  cp /mada/software/techfiles/ncsu/cdssetup/lib.defs ~
+
  echo $0
  
Once you have done this, you will need to create a separate directory where you will create your libraries:
+
=== Setup with bash ===
  
mkdir LayoutTutorial
+
In your .bashrc file make sure you use our CAD tool setup:
  
From this directory, run icfb (IC front-to-back):
+
source /projects/cmpe122/setup.sh (source /mada/software/setup.sh for VLSI-DA lab)
cd LayoutTutorial
+
icfb &
+
  
Note that the ampersand runs the command in the background so you can do other things in the shell. Do not close the shell or the program will also close.
+
If you plan on using FreePDK45, you must also add this to the .bashrc:
  
== CIW ==
+
source /projects/cmpe122/setup_freepdk45.sh (source /mada/software/setup_freepdk45.sh for VLSI-DA lab)
  
After you start icfb, the first window that pops up is the command interface window (CIW). It looks like this:
+
You must now log out and log back in to get the new setup.
 
+
 
+
[[Image:1-ciw.jpg|center|500px]]
+
 
+
== Library Manager ==
+
Another window also pops up which is the Library Manager:
+
 
+
[[Image:2-library_manager.jpg|center|500px]]
+
 
+
== Creating a Library ==
+
 
+
The first step is to create a new library with File->Create Library. Add a unique name for your library. It will contain all of your layout and schematics. We will also "attach" the library to a given technology library that is already set up.  
+
  
[[Image:3-new_library.jpg|center|300px]]
+
=== Setup with csh or tcsh ===
  
== Selecting the technology ==
+
Run bash. These shells do not work and are not supported. You can request bash from ITS as your default shell or you can manually run "bash" each time. Or, as a quick hack, you can add this to your .tcshrc configuration file:
A special window will pop up that prompts you to pick a technology library. We are going to use the NCSU_TechLib_tsmc02d technology which is a SCMOS 180nm process. It can be manufactured by several different vendors including TSMC.
+
  
[[Image:4-choose_technology.jpg|center|200px]]
+
export SHELL=/bin/bash; exec $SHELL
  
[[Image:5-attach_to_technology_lib.jpg|center|300px]]
+
The above command will run a copy of bash every time you log in. **NOTE: Can someone verify this? My default shell isn't tcsh. I'm not sure if it will source your .profile/.bashrc files or not.

Revision as of 01:12, 8 May 2014

Connecting Remotely

From Linux/Unix

First of all, the tools are only set up on servers (waterdance.soe.ucsc.edu and riverdance.soe.ucsc.edu for CMPE222/223, your specific lab machine in CMPE125/CMPE126, or on any of the mada machines for the MASC and VLSI research groups).

You can run them remotely on the machines by exporting your X display:

ssh -Y waterdance.soe.ucsc.edu

or

ssh -Y riverdance.soe.ucsc.edu

and you must have an X11 client on your computer. Suggested X11 clients are

  1. X11.app in OSX
  2. Xorg's XFree86 in Linux
  3. Xming in Windows

You can do this from home if you have a fast internet connection. Otherwise, you must use the computing labs.

Win32 Xming Setup

To display on a win32 machine (vista), you should do this:

  1. Install xming from http://sourceforge.net/projects/xming/files/Xming/6.9.0.31/Xming-6-9-0-31-setup.exe/download
  2. Install Xming fonts from http://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.25/Xming-fonts-7-5-0-25-setup.exe/download
  3. Install putty from http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
  4. Start Xming
  5. start putty (an SSH client)
  6. in the "SSH->Tunnels" page of putty, click on "Enable X forwarding"
  7. In the Session page of putty, write the hostname (riverdance.soe.ucsc.edu). You can also write your username like this username@riverdance.soe.ucsc.edu. Hit "Save" to save the session for future use
  8. Hit "Open" to start your session

Any X application (e.g. xcalc) should now work by displaying to your local machine

Setting up the CAD Tools

You can check your shell by typing:

echo $0

Setup with bash

In your .bashrc file make sure you use our CAD tool setup:

source /projects/cmpe122/setup.sh (source /mada/software/setup.sh for VLSI-DA lab)

If you plan on using FreePDK45, you must also add this to the .bashrc:

source /projects/cmpe122/setup_freepdk45.sh (source /mada/software/setup_freepdk45.sh for VLSI-DA lab)

You must now log out and log back in to get the new setup.

Setup with csh or tcsh

Run bash. These shells do not work and are not supported. You can request bash from ITS as your default shell or you can manually run "bash" each time. Or, as a quick hack, you can add this to your .tcshrc configuration file:

export SHELL=/bin/bash; exec $SHELL

The above command will run a copy of bash every time you log in. **NOTE: Can someone verify this? My default shell isn't tcsh. I'm not sure if it will source your .profile/.bashrc files or not.