Magic setup for 0.25 um Technology

Created by: Sunan Tugsinavisut

    This tutorial will introduce you how to setup magic using 0.25 um technology.
  1. Edit your .cshrc or .login in your home directory.
  1. Add this command AFTER "source ~sangyoub/cds_setup/setup.csh".

  2. "source ~ee577/ee577b_cad/setup/setup.csh"
  3. Copy the following file to your current project directory and extract it.

  4. $ 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

  5. Verify your setup path by typing the following command.

  6. $ echo $CAD_HOME
    $ which magic
            magic:        aliased to magic -d X11 -T SCN5M_SUBM.15
  7. Testing layers in magic by calling this command in your magic directory

  8. $ magic SCN5M_SUBM
    You should see all the layers.
  9. Simple example with an inverter.

  10. $ 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

    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