Magic setup for 0.25 um Technology
Created by: Sunan Tugsinavisut
Email: tugsinav@usc.edu
This tutorial will introduce you how to setup magic
using 0.25 um technology.
-
Edit your .cshrc or .login in your home directory.
-
Add this command AFTER "source ~sangyoub/cds_setup/setup.csh".
"source ~ee577/ee577b_cad/setup/setup.csh"
-
Copy the following file to your current project directory and extract it.
$ copy ~ee577/ee577b_cad/setup/ee577b_cad.tar .
$ tar xvf ee577b_cad.tar
You will have the following file in your current directory.
1) .magic
// magic setup file
2) tsmc_0.25um.prm
// parameter file for IRSIM
3) n99y.prm
// technology file for HSPICE
4) SCN5M_SUBM.mag // magic
test file for 0.25 um technology
5) inv.mag
// magic example file
6) fo4.mag
// magic example file
7) fo4.cir
// hspice input example file
-
Verify your setup path by typing the following command.
$ echo $CAD_HOME
/home/scf-06/ee577/ee577b_cad
$ which magic
magic:
aliased to magic -d X11 -T SCN5M_SUBM.15
-
Testing layers in magic by calling this command in your magic directory
$ magic SCN5M_SUBM
You should see all the layers.
-
Simple example with an inverter.
$ magic fo4 (fo4 consists of 5 inverters inside)
- extract fo4.mag to get fo4.ext
$ ext2sim -t! fo4.ext
$ irsim -s tsmc_0.25um.prm fo4.sim
run the folloing commands.
irsim> ana in out
irsim> h in
irsim> s
irsim> l in
irsim> s
$ ext2spice fo4.ext
$ hspice fo4.cir //
notice that n99y.prm are included in this file.
$ mwaves fo4.st0
Note: The important parameter files that you need to copy them
along with your project directory are
1. .magic
2. tsmc_0.25um.prm
3. n99y.prm
Reference
1) Design
Rule from MOSIS (Revision 7.4)
2) Magic Techfiles
Overview (README) (new features)
3) Change
Log (information about defects and fixes)
4) TSMC
0.25 um process
The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees