| 1 | <HTML> |
| 2 | <H3>See Also:</H3> |
| 3 | <BLOCKQUOTE> |
| 4 | <A HREF=wire.html><I>wire</I></A> <BR> |
| 5 | </BLOCKQUOTE> |
| 6 | |
| 7 | <HEAD> |
| 8 | <STYLE type="text/css"> |
| 9 | H1 {color: black } |
| 10 | H2 {color: maroon } |
| 11 | H3 {color: #007090 } |
| 12 | A.head:link {color: #0060a0 } |
| 13 | A.head:visited {color: #3040c0 } |
| 14 | A.head:active {color: white } |
| 15 | A.head:hover {color: yellow } |
| 16 | A.red:link {color: red } |
| 17 | A.red:visited {color: maroon } |
| 18 | A.red:active {color: yellow } |
| 19 | </STYLE> |
| 20 | </HEAD> |
| 21 | <TITLE>Magic-7.3 Command Reference</TITLE> |
| 22 | <BODY BACKGROUND=graphics/blpaper.gif> |
| 23 | <H1> <IMG SRC=graphics/magic_title2.gif ALT="Magic VLSI Layout Tool Version 7.3"> |
| 24 | <IMG SRC=graphics/magic_OGL_sm.gif ALIGN="top" ALT="*"> </H1> |
| 25 | |
| 26 | <H2>wire</H2> |
| 27 | <HR> |
| 28 | Generate wires from the command line. |
| 29 | <HR> |
| 30 | |
| 31 | <H3>Shortcuts:</H3> |
| 32 | <BLOCKQUOTE> |
| 33 | Mouse buttons in conjunction with the <B>wire</B> tool implement |
| 34 | various <B>wire</B> commands (see the <B>tool</B> command |
| 35 | reference). |
| 36 | </BLOCKQUOTE> |
| 37 | |
| 38 | <H3>Usage:</H3> |
| 39 | <BLOCKQUOTE> |
| 40 | <B>wire</B> <I>option</I> <BR><BR> |
| 41 | <BLOCKQUOTE> |
| 42 | where <I>option</I> may be one of the following: |
| 43 | <DL> |
| 44 | <DT> <B>help</B> |
| 45 | <DD> Print help information |
| 46 | <DT> <B>horizontal</B> |
| 47 | <DD> Add a new horizontal wire leg |
| 48 | <DT> <B>leg</B> |
| 49 | <DD> Add a new horizontal or vertical leg |
| 50 | <DT> <B>switch</B> [<I>layer width</I>] |
| 51 | <DD> Place contact and switch layers |
| 52 | <DT> <B>type</B> [<I>layer width</I>] |
| 53 | <DD> Select the type and size of wires |
| 54 | <DT> <B>vertical</B> |
| 55 | <DD> add a new vertical wire leg |
| 56 | <DT> <B>segment</B> <I>layer width x1 y1 x2 y2</I>... [<B>-noendcap</B>] |
| 57 | <DD> Paint one or more wire segments |
| 58 | <DT> <B>show</B> |
| 59 | <DD> Determine where the next wire leg will be according to |
| 60 | the rules for <B>wire leg</B>, but place the result in |
| 61 | the selection buffer rather than directly on the layout. |
| 62 | <DT> <B>increment layer</B> |
| 63 | <DD> Change the layer type used for wires to the wire type on |
| 64 | the plane above the plane of the current wire type. |
| 65 | <DT> <B>decrement layer</B> |
| 66 | <DD> Change the layer type used for wires to the wire type on |
| 67 | the plane below the plane of the current wire type. |
| 68 | <DT> <B>increment width</B> |
| 69 | <DD> Increment the width of the current wire by 1 internal unit. |
| 70 | <DT> <B>decrement width</B> |
| 71 | <DD> Decrement the width of the current wire by 1 internal unit. |
| 72 | </DL> |
| 73 | </BLOCKQUOTE> |
| 74 | </BLOCKQUOTE> |
| 75 | |
| 76 | <H3>Summary:</H3> |
| 77 | <BLOCKQUOTE> |
| 78 | The <B>wire</B> command allows quick generation of wires on the |
| 79 | layout. Some of these commands are bound to mouse button events |
| 80 | in the wire tool, making a convenient interface for fast wiring |
| 81 | where full netlist routing is not required. Due to the presence |
| 82 | of the wire tool, most of these commands are not typically called |
| 83 | from the command line. <P> |
| 84 | |
| 85 | The <B>wire segment</B> command can generate non-Manhattan segments. |
| 86 | All other wiring commands generate only Manhattan routes. This |
| 87 | command places wire segments in relation to the <I>centerline</I> |
| 88 | coordinates specified by <I>x1 y1</I>, <I>x2 y2</I>, and so forth. |
| 89 | By default, wires are drawn with an endcap extension of one-half |
| 90 | the wire width. The <B>-noendcap</B> option causes the wire to |
| 91 | end at the coordinate, with no extension. The <B>wire segment</B> |
| 92 | command is intended to be used from Tcl scripts for automatic |
| 93 | layout generation. |
| 94 | </BLOCKQUOTE> |
| 95 | |
| 96 | <H3>Implementation Notes:</H3> |
| 97 | <BLOCKQUOTE> |
| 98 | <B>wire</B> is implemented as a built-in command in <B>magic</B>. |
| 99 | </BLOCKQUOTE> |
| 100 | |
| 101 | <H3>See Also:</H3> |
| 102 | <BLOCKQUOTE> |
| 103 | <A HREF=polygon.html><B>polygon</B></A> <BR> |
| 104 | </BLOCKQUOTE> |
| 105 | |
| 106 | <P><IMG SRC=graphics/line1.gif><P> |
| 107 | <TABLE BORDER=0> |
| 108 | <TR> |
| 109 | <TD> <A HREF=commands.html>Return to command index</A> |
| 110 | </TR> |
| 111 | </TABLE> |
| 112 | <P><I>Last updated:</I> December 4, 2005 at 8:38pm <P> |
| 113 | </BODY> |
| 114 | </HTML> |