| 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>load</H2> |
| 22 | <HR> |
| 23 | Load a cell into the layout window |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Usage:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | <B>load</B> [<I>cellname</I> [<B>scaled</B> <I>n</I> [<I>d</I>]]] |
| 29 | [<B>-force</B>] <BR><BR> |
| 30 | <BLOCKQUOTE> |
| 31 | where <I>cellname</I> is the name of a cell that presumably |
| 32 | exists either in the database memory or on disk as a |
| 33 | <TT>.mag</TT> file. <I>n</I> and <I>d</I> |
| 34 | are the numerator and denominator, respectively, of a |
| 35 | magnification factor, if it is desired to load the cell at a |
| 36 | different scale than it was written. <I>d</I> defaults to 1 |
| 37 | if not specified. |
| 38 | </BLOCKQUOTE> |
| 39 | </BLOCKQUOTE> |
| 40 | |
| 41 | <H3>Summary:</H3> |
| 42 | <BLOCKQUOTE> |
| 43 | The <B>load</B> command loads a cell into the database and |
| 44 | displays it in the current layout window (if available). If |
| 45 | the cell is not already in the database memory, it is loaded |
| 46 | from disk. If it cannot be found on disk, then a new cell |
| 47 | definition of name <I>cellname</I> is created and loaded |
| 48 | into the window. <P> |
| 49 | |
| 50 | By default, <B>magic</B> loads a cell from disk only if the |
| 51 | technology name matches the current technology. Historically, |
| 52 | this has led to most technologies being named "scmos" which |
| 53 | undermines the purpose of having a technology name in the |
| 54 | first place. In magic-7.2 and 7.3, this behavior can be |
| 55 | overridden with the <B>-force</B> option. <B>magic</B> will |
| 56 | read the cell to the extent that layer names match between |
| 57 | the current technology and the technology of the file. <P> |
| 58 | |
| 59 | The <B>-force</B> option and <B>scaled</B> option can be |
| 60 | used together to port layouts from one technology to |
| 61 | another. The <B>scaled</B> option implements a scale |
| 62 | conversion during input by redefining the ratio of lambda |
| 63 | to internal units during the load. This is useful if |
| 64 | a cell was written in a lambda-based technology but needs |
| 65 | to be read into a vendor-rules-based technology with a |
| 66 | fine internal scale such as 0.1 micron per internal unit. |
| 67 | The <B>scaled</B> option may also be used simply to resize |
| 68 | cell geometry, although this is generally only useful to |
| 69 | do for layout such as logos and text lettering drawn in |
| 70 | routing layers. <P> |
| 71 | |
| 72 | Note that if it is not desired to have <I>cellname</I> |
| 73 | created if not found on disk (e.g., because the path for |
| 74 | the cell was missing from the search path), the database |
| 75 | can be updated with the <B>flush</B> command or the |
| 76 | <B>cellname delete</B> command. |
| 77 | </BLOCKQUOTE> |
| 78 | |
| 79 | <H3>Implementation Notes:</H3> |
| 80 | <BLOCKQUOTE> |
| 81 | <B>load</B> is implemented as a built-in command in <B>magic</B>. |
| 82 | </BLOCKQUOTE> |
| 83 | |
| 84 | <H3>See Also:</H3> |
| 85 | <BLOCKQUOTE> |
| 86 | <A HREF=xload.html><B>xload</B></A> <BR> |
| 87 | </BLOCKQUOTE> |
| 88 | |
| 89 | <P><IMG SRC=graphics/line1.gif><P> |
| 90 | <TABLE BORDER=0> |
| 91 | <TR> |
| 92 | <TD> <A HREF=commands.html>Return to command index</A> |
| 93 | </TR> |
| 94 | </TABLE> |
| 95 | <P><I>Last updated:</I> October 7, 2004 at 2:02am <P> |
| 96 | </BODY> |
| 97 | </HTML> |