| 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>ext, extract</H2> |
| 22 | <HR> |
| 23 | Circuit netlist extractor |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Usage:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | <B>extract</B> <I>option</I> <BR><BR> |
| 29 | <BLOCKQUOTE> |
| 30 | where <I>option</I> may be one of the following: |
| 31 | <DL> |
| 32 | <DT> <B>all</B> |
| 33 | <DD> Extract the root cell and all its children. This bypasses |
| 34 | the incremental extraction and ensures that a new <TT>.ext</TT> |
| 35 | file is written for every cell definition. |
| 36 | <DT> <B>cell</B> <I>name</I> |
| 37 | <DD> Extract the indicated cell into file <I>name</I> |
| 38 | <DT> <B>do</B>|<B>no</B> [<I>option</I>] |
| 39 | <DD> Enable or disable an extractor option, where <I>option</I> |
| 40 | may be one of the following: |
| 41 | <BLOCKQUOTE> |
| 42 | <DL> |
| 43 | <DT> <B>capacitance</B> |
| 44 | <DD> |
| 45 | <DT> <B>resistance</B> |
| 46 | <DD> |
| 47 | <DT> <B>coupling</B> |
| 48 | <DD> |
| 49 | <DT> <B>length</B> |
| 50 | <DD> |
| 51 | <DT> <B>adjust</B> |
| 52 | <DD> |
| 53 | <DT> <B>all</B> |
| 54 | <DD> |
| 55 | </DL> |
| 56 | </BLOCKQUOTE> |
| 57 | |
| 58 | <DT> <B>length</B> [<I>option</I>] |
| 59 | <DD> Control pathlength extraction information, where <I>option</I> |
| 60 | may be one of the following: |
| 61 | <BLOCKQUOTE> |
| 62 | <DL> |
| 63 | <DT> <B>driver</B> <I>termname</I> |
| 64 | <DD> |
| 65 | <DT> <B>receiver</B> <I>termname</I> |
| 66 | <DD> |
| 67 | <DT> <B>clear</B> |
| 68 | <DD> |
| 69 | </DL> |
| 70 | </BLOCKQUOTE> |
| 71 | |
| 72 | <DT> <B>help</B> |
| 73 | <DD> Print help information |
| 74 | <DT> <B>parents</B> |
| 75 | <DD> Extract the selected cell and all its parents |
| 76 | <DT> <B>showparents</B> |
| 77 | <DD> List the cell and all parents of selected cell. Note that |
| 78 | this is not really an extract option and is superceded by |
| 79 | the <B>cellname</B> command. |
| 80 | <DT> [<B>list</B>|<B>listall</B>] <B>style</B> [<I>stylename</I>] |
| 81 | <DD> Set the current extraction style to <I>stylename</I>. |
| 82 | Without arguments, print the current extraction style. |
| 83 | With keyword <B>list</B>, return the current extraction |
| 84 | style as a Tcl result. With keyword <B>listall</B>, return |
| 85 | all valid extraction styles for the technology as a Tcl |
| 86 | list. |
| 87 | <DT> <B>unique</B> [<I>#</I>] |
| 88 | <DD> Generate unique names when different nodes have the same name |
| 89 | <DT> <B>warn</B> [[<B>no</B>] <I>option</I>] |
| 90 | <DD> Enable/disable reporting of non-fatal errors, where <I>option</I> |
| 91 | may be one of the following: |
| 92 | <BLOCKQUOTE> |
| 93 | <DL> |
| 94 | <DT> <B>fets</B> |
| 95 | <DD> |
| 96 | <DT> <B>labels</B> |
| 97 | <DD> |
| 98 | <DT> <B>dup</B> |
| 99 | <DD> |
| 100 | <DT> <B>all</B> |
| 101 | <DD> |
| 102 | </DL> |
| 103 | </BLOCKQUOTE> |
| 104 | </DL> |
| 105 | </BLOCKQUOTE> |
| 106 | </BLOCKQUOTE> |
| 107 | |
| 108 | <H3>Summary:</H3> |
| 109 | <BLOCKQUOTE> |
| 110 | With no options given, the <B>extract</B> command incrementally |
| 111 | extracts the root cell and all its children into separate |
| 112 | <TT>.ext</TT> files. With options, the effect is as described |
| 113 | in the Usage section above. |
| 114 | </BLOCKQUOTE> |
| 115 | |
| 116 | <H3>Implementation Notes:</H3> |
| 117 | <BLOCKQUOTE> |
| 118 | <B>extract</B> is implemented as a built-in <B>magic</B> command. <P> |
| 119 | <B>ext</B> is an alias for command <B>extract</B> (allowed |
| 120 | abbreviation where the usage would otherwise be ambiguous). |
| 121 | </BLOCKQUOTE> |
| 122 | |
| 123 | <H3>See Also:</H3> |
| 124 | <BLOCKQUOTE> |
| 125 | <A HREF=extresist.html><B>extresist</B></A> <BR> |
| 126 | <A HREF=ext2spice.html><B>ext2spice</B></A> <BR> |
| 127 | <A HREF=ext2sim.html><B>ext2sim</B></A> <BR> |
| 128 | </BLOCKQUOTE> |
| 129 | |
| 130 | <P><IMG SRC=graphics/line1.gif><P> |
| 131 | <TABLE BORDER=0> |
| 132 | <TR> |
| 133 | <TD> <A HREF=commands.html>Return to command index</A> |
| 134 | </TR> |
| 135 | </TABLE> |
| 136 | <P><I>Last updated:</I> October 6, 2004 at 3:16am <P> |
| 137 | </BODY> |
| 138 | </HTML> |