1%---------------------------------------------------------------------------- 2% Magic Overview 3%---------------------------------------------------------------------------- 4 5\NeedsTeXFormat{LaTeX2e}[1994/12/01] 6\documentclass[letterpaper,twoside,12pt]{article} 7\usepackage{epsfig,times} 8 9\setlength{\textwidth}{8.5in} 10\addtolength{\textwidth}{-2.0in} 11\setlength{\textheight}{11.0in} 12\addtolength{\textheight}{-2.0in} 13\setlength{\oddsidemargin}{0in} 14\setlength{\evensidemargin}{0pt} 15\setlength{\topmargin}{-0.5in} 16\setlength{\headheight}{0.2in} 17\setlength{\headsep}{0.3in} 18\setlength{\topskip}{0pt} 19 20\def\hinch{\hspace*{0.5in}} 21\def\starti{\begin{center}\begin{tabbing}\hinch\=\hinch\=\hinch\=hinch\hinch\=\kill} 22\def\endi{\end{tabbing}\end{center}} 23\def\ii{\>\>\>} 24\def\mytitle{Overview of the DECWRL/Livermore Magic Release (Version~6)} 25 26%---------------------------------------------------------------------------- 27 28\begin{document} 29 30\makeatletter 31\newcommand{\ps@magic}{% 32 \renewcommand{\@oddhead}{\mytitle\hfil\today}% 33 \renewcommand{\@evenhead}{\today\hfil\mytitle}% 34 \renewcommand{\@evenfoot}{\hfil\textrm{--{\thepage}--}\hfil}% 35 \renewcommand{\@oddfoot}{\@evenfoot}} 36\newcommand{\ps@mplain}{% 37 \renewcommand{\@oddhead}{}% 38 \renewcommand{\@evenhead}{}% 39 \renewcommand{\@evenfoot}{\hfil\textrm{--{\thepage}--}\hfil}% 40 \renewcommand{\@oddfoot}{\@evenfoot}} 41\makeatother 42\pagestyle{magic} 43\thispagestyle{mplain} 44 45 46\begin{center} 47 This tutorial corresponds to Magic version 7. \\ 48\end{center} 49\vspace*{0.5in} 50 51\section{Introduction} 52 53This version of Magic, version 6, 54gathers together work done by numerous people at 55several institutions since Magic version 4 was released from Berkeley 56on the 1986 VLSI tools tape. 57This is a release of Magic and IRSIM only. You'll probably want to obtain 58other tools by ordering the 1986 VLSI Tools Tape from Berkeley. 59 60This release has been prepared with the assistance of several groups. 61Much of the new software came from Walter Scott's group at 62the Lawrence Livermore National Labs (LLNL). 63LLNL also provided partial funding to help prepare the release. 64Digital Equipment Corporation's Western Research Lab (DECWRL) 65helped out by providing computer equipment, a place to work, and 66the services of one of us (Robert Mayo). Don Stark, Michael Arnold, and 67Gordon Hamachi also worked on the release at DECWRL. 68Stanford donated significant pieces of new code, including a simulation 69system called IRSIM. 70Other individuals and institutions have also contributed code and assistance 71in ways too numerous to detail here. 72 73New features in Magic Version 6 include: 74 75\begin{itemize} 76\item New and Improved Routing---{\itshape Michael Arnold and 77 Walter Scott of LLNL} \\ 78Three major routing improvements have been made in this version of Magic. 79There is a new, improved, global router courtesy of Walter Scott (of LLNL). 80Walter Scott has also added a gate array router. See the ``garoute'' command 81in the manual page for details. 82Michael Arnold (of LLNL) has written an interactive maze router that allows 83the user to specify hints to control the routing. See the documentation 84for the ``iroute'' command. 85 86\item Extractor Enhancements---{\itshape Don Stark of Stanford and 87 Walter Scott of LLNL} \\ 88The new ``extresis'' command, developed by Don Stark, provides 89substantially better resistance extraction. Magic's 90normal extraction (``extract'') lumps resistances on a 91node into a single value. 92In branching networks, this approximation is often not acceptable. 93Resis was written to solve this problem. Walter Scott added accurate path 94length extraction, an important feature when dealing with high speed 95circuits, such as ECL. 96 97\item New contact structure---{\itshape Walter Scott and 98 Michael Arnold of LLNL and Don Stark of Stanford} \\ 99Multilayer contacts are handled better. 100In the previous version of Magic, there needed to be a separate contact type 101for each possible combination of contact layers over a given point. This 102caused a combinatorial explosion of tile types for multi-layer technologies 103with stacked contacts. Under the new scheme, there are only a couple of 104tile types for each layer: one that connects up, one that connects down, 105and one that connects in both directions. 106 107\item Simulator Interface to IRSIM---{\itshape Stanford} \\ 108A simulator interface is provided courtesy of Stanford. 109See the commands ``startrsim'', ``simcmd'', and ``rsim''. 110The irsim simulator, Stanford's much improved rewrite of esim, is included 111in this distribution. 112Credit goes to Mike Chow, Arturo Salz, and Mark Horowitz. 113 114\item New device/machine Support---{\itshape Various} \\ 115X11 is fully supported in this release, and is the preferred interface. Older 116drivers for graphics terminals and X10 are also included, but X11 is the 117preferred interface (meaning it is better supported and you'll have lots of 118company). Magic's X11 driver has a long history, starting with an X10 driver 119by Doug Pan at Stanford. Brown University, the University of 120Southern California, the University of Washington, and Lawrence Livermore 121National Labs all prepared improved versions, some of them for X11. Don 122Stark of Stanford took on the task of pulling these together and producing 123the X11 driver in this release. 124 125Magic runs on a number of workstations, such as the DECstation 3100 and Sun's 126SPARC processors. Partial Unix System V support is provided, via the 127compilation flags mentioned below. The system also runs on the MacII. 128Don Stark gets credit for the System V mods and support for HP machines, while 129Mike Chow helped get it running on the MacII. 130 131To assist people with small machines (such as the Mac II), Magic can now be 132compiled without some of its fancy features. Compilation flags are provided, 133as indicated below, to eliminate things like routing, plotting, or calma output. 134This is courtesy of Don Stark. 135 136\item Reorganization of Magic Source Directory \\ 137Magic, as previously distributed, was set up with the assumption that lots of 138people would be changing the code at the same time. As a result, the makefiles 139did all sorts of paranoid things like making extra copies of the source code 140whenever a module was re-installed. 141 142Since Magic is more stable now, this copying is no longer needed. Instead, 143each makefile invokes the script {\bfseries ../:instclean} after installing a module. 144This script, 145by default, doesn't copy the source code but does leave the .o files around. 146This cuts down on the disk space needed by a factor of two. 147You can change the script if you want the copying, 148or if you want to delete unused .o files to save even more disk space. 149 150\item Lots of bug fixes---{\itshape Various} \\ 151Lots of bugs have been fixed in this release. We'd like to thank everybody 152that has reported bugs in the past. If you find a new bug, please report 153it as mentioned below. 154\end{itemize} 155 156\section{Distribution Information} 157 158This version of Magic is available via FTP. Contact 159``{\ttfamily magic@decwrl.dec.com}'' for information. 160 161For a handling fee, this version of Magic may be obtained on magnetic tape from: 162 163\starti 164 \ii EECS/ERL Industrial Liaison Program \\ 165 \ii 479 Cory Hall \\ 166 \ii University of California at Berkeley \\ 167 \ii Berkeley, CA 94720 168\endi 169 170\section{Bug Reports} 171 172Maintenance of Magic is a volunteer effort. Please send descriptions 173of bugs via InterNet e-mail to ``{\ttfamily magic@decwrl.dec.com}'' 174or via Uucp e-mail to ``{\ttfamily decwrl!magic}''. If you develop a 175fix for the problem, please send that too! 176 177\section{Changes for Magic maintainers} 178 179Previous releases of Magic expected to find their 180system files in the home directory of the user {\bfseries cad}. 181The default behavior of version 6 is no different, but it 182is possible to put the files in another directory by setting the 183{\bfseries CAD{\_}HOME} 184shell environment variable. If this variable is set, magic will use that 185location instead of the \~{}cad it finds in the password file. 186 187\subsection{INSTALLING MAGIC} 188 189The distribution tape contains a version of Magic ready to run on Digital's 190line of Ultrix RISC workstations, such as the DECstation 3100. For other 191machines, read ahead. 192In any event, all users should set their shell environment variable 193CAD{\_}HOME to point to the place where the tape is loaded, unless that place 194is \~{}cad, in which case things will default correctly. 195 196Before installing Magic, you should set your shell environment variable 197CAD{\_}HOME to point to the place where you loaded the tape. 198If you ``cd'' to the magic source directory (\${CAD{\_}HOME}/src/magic) you will find 199a makefile. A ``{\bfseries make config}'' will run a configuration script that asks 200questions about your configuration and sets up magic to be compiled for your 201local environment. 202 203After running a ``make config'', you can run a ``{\bfseries make force}'' to force 204a complete 205recompilation of magic. A "{\bfseries make install}" will then copy the binaries to 206the \${CAD{\_}HOME}/bin area, as well as install things in \${CAD{\_}HOME}/lib 207and \${CAD{\_}HOME}/man. 208 209Included in this documentation 210is a set of Magic maintainer's manuals. These should be read by anybody 211interested in modifying Magic or by anybody that is having difficulty 212installing it on their system. 213 214\subsection{Technology file changes} 215 216Users of Magic 4 should have little trouble switching to Magic 6. 217 218A new section, the {\bfseries mzrouter} section needs to be added to your technology 219files. See the mzrouter section of the 220tutorial {\itshape Magic Maintainer's Manual \#2: The Technology File} 221for details. 222 223Display styles must be defined in the {\itshape .tech} file 224for the mzrouter hint layers magnet, fence and rotate. We 225suggest copying this information from the styles section of the 226scmos technology file on the distribution tape. You'll also need to include 227these display styles in your {\itshape .dstyle} file. 228 229\section{Beta-test Sites} 230 231We'd like to thank the beta-test sites that tried out this version of Magic, 232reported bugs and fixes in a timely manner, and ported the code to new 233machines: 234 235\starti 236\> Mike Chow, Apple Computer \\ 237\> Arun Rao, Arizona State University \\ 238\> Richard Hughey, Brown University \\ 239\> Rick Carley, Carnegie-Mellon University \\ 240\> Hank Walker, Carnegie-Mellon University \\ 241\> Christos Zoulas, Cornell University \\ 242\> Andreas Andreou, John Hopkins University \\ 243\> George Entenman, The Microelectronics Center of North Carolina \\ 244\> Shih-Lien Lu, The MOSIS Service \\ 245\> Jen-I Pi, The MOSIS Service \\ 246\> Guntram Wolski, Silicon Engineering, Inc. \\ 247\> Don Stark, Stanford University \\ 248\> Gregory Frazier, University of California at Los Angeles \\ 249\> Yuval Tamir, University of California at Los Angeles \\ 250\> Steven Parkes, University of Illinois \\ 251\> Larry McMurchie, University of Washington \\ 252\> Tim Heldt, Washington State University \\ 253\> David Lee, Xerox Palo Alto Research Center \\ 254\endi 255 256Martin Harriman of Silicon Engineering wrote a ``select less'' command for 257Magic during the beta-test phase. ``Select less'' has been a 258much-requested feature. 259 260In addition to the persons named above, there were many other beta-test 261users of Magic at these and other sites---too many to list here. We 262appreciate their help. We also acknowledge the help of the pre-release 263sites, who tested a version that included most of the fixes from the beta-test 264phase. 265 266\end{document} 267