| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <STYLE type="text/css"> |
| 4 | H1 {color: black } |
| 5 | H2 {color: maroon } |
| 6 | H3 {color: #007090 } |
| 7 | A.head:link {color: #0060a0 } |
| 8 | A.head:visited {color: #3040c0 } |
| 9 | A.head:active {color: white } |
| 10 | A.head:hover {color: yellow } |
| 11 | A.red:link {color: red } |
| 12 | A.red:visited {color: maroon } |
| 13 | A.red:active {color: yellow } |
| 14 | </STYLE> |
| 15 | </HEAD> |
| 16 | <TITLE>Magic-7.3 Command Reference</TITLE> |
| 17 | <BODY BACKGROUND=graphics/blpaper.gif> |
| 18 | <H1> <IMG SRC=graphics/magic_title2.gif ALT="Magic VLSI Layout Tool Version 7.3"> |
| 19 | <IMG SRC=graphics/magic_OGL_sm.gif ALIGN="top" ALT="*"> </H1> |
| 20 | |
| 21 | <H2>addpath</H2> |
| 22 | <HR> |
| 23 | Append to current search path |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Usage:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | <B>addpath</B> [<I>path</I>] <BR><BR> |
| 29 | <BLOCKQUOTE> |
| 30 | where <I>path</I> is the path of a directory to add to the |
| 31 | list of directories searched for layout cells, relative to |
| 32 | the current working directory. |
| 33 | </BLOCKQUOTE> |
| 34 | </BLOCKQUOTE> |
| 35 | |
| 36 | <H3>Summary:</H3> |
| 37 | <BLOCKQUOTE> |
| 38 | The <B>addpath</B> command is used to control which directories |
| 39 | magic searches when attempting to read an undefined cell. It |
| 40 | can only be used to append new directories to the existing |
| 41 | search path (see below). This command is most often used when |
| 42 | groups of subcells such as a standard-cell library or padframe |
| 43 | library is kept in a separate place from the rest of the layout. |
| 44 | In such cases it is convenient to put this command in the |
| 45 | <B>.magic</B> file in the layout directory to ensure that all |
| 46 | cells required by the layout are accessible at runtime. |
| 47 | </BLOCKQUOTE> |
| 48 | |
| 49 | <H3>Implementation Notes:</H3> |
| 50 | <BLOCKQUOTE> |
| 51 | <B>addpath</B> is a <B>magic</B> built-in command. It is |
| 52 | retained for backwards compatibility, but is superceded by |
| 53 | the <B>path</B> command, which allows complete control over |
| 54 | the layout search path contents, as well as other search |
| 55 | paths used by <B>magic</B>. |
| 56 | </BLOCKQUOTE> |
| 57 | |
| 58 | <H3>See Also:</H3> |
| 59 | <BLOCKQUOTE> |
| 60 | <A HREF=path.html><B>path</B></A> <BR> |
| 61 | <A HREF=getcell.html><B>getcell</B></A> <BR> |
| 62 | </BLOCKQUOTE> |
| 63 | |
| 64 | <P><IMG SRC=graphics/line1.gif><P> |
| 65 | <TABLE BORDER=0> |
| 66 | <TR> |
| 67 | <TD> <A HREF=commands.html>Return to command index</A> |
| 68 | </TR> |
| 69 | </TABLE> |
| 70 | <P><I>Last updated:</I> October 3, 2004 at 6:53am <P> |
| 71 | </BODY> |
| 72 | </HTML> |