| 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>corner</H2> |
| 22 | <HR> |
| 23 | Make L-shaped wires inside the cursor box. |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Usage:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | <B>corner</B> <I>d1 d2</I> [<I>layers</I>] <BR><BR> |
| 29 | <BLOCKQUOTE> |
| 30 | where <I>d1</I> and <I>d2</I> are valid manhattan |
| 31 | <A HREF=direction.html><I>directions</I></A>, and |
| 32 | <I>layers</I> is an optional comma-separated list |
| 33 | of valid paint layers. |
| 34 | </BLOCKQUOTE> |
| 35 | </BLOCKQUOTE> |
| 36 | |
| 37 | <H3>Summary:</H3> |
| 38 | <BLOCKQUOTE> |
| 39 | The <B>corner</B> command makes L-shaped wires inside |
| 40 | the cursor box, filling first in direction <I>d1</I>, |
| 41 | then in direction <I>d2</I>. If no <I>layers</I> are |
| 42 | specified, then the cornering algorithm is applied to |
| 43 | all layers crossing the cursor box boundary opposite |
| 44 | to direction <I>d1</I>. If <I>layers</I> is specified, |
| 45 | the cornering algorithm is applied only to those layers |
| 46 | specified. The usage of <B>corner</B> is similar to |
| 47 | that for the command <B>fill</B> (q.v.). |
| 48 | </BLOCKQUOTE> |
| 49 | |
| 50 | <BLOCKQUOTE> |
| 51 | Below is an example showing how the cornering algorithm |
| 52 | responds to the command <B>corner n e</B>. First it |
| 53 | finds layers crossing the cursor box boundary to the |
| 54 | south (opposite to the first specified direction, |
| 55 | <B>north</B>), and then extends these layers as wires |
| 56 | first to the north, then to the east. The position of |
| 57 | the layers leaving the box to the east is such that |
| 58 | the same distance is maintained from each layer to the |
| 59 | north side of the box at the exit point as it was |
| 60 | from each layer to the east side of the box at the |
| 61 | entrance point. |
| 62 | |
| 63 | <CENTER> |
| 64 | <IMG SRC=graphics/corner1.gif> |
| 65 | <IMG SRC=graphics/corner2.gif> <BR> |
| 66 | <I>Figure 1: The cornering operation in response to the layout |
| 67 | shown, given magic command <B>corner n e</B></I>. |
| 68 | </CENTER> |
| 69 | </BLOCKQUOTE> |
| 70 | |
| 71 | |
| 72 | <H3>Implementation Notes:</H3> |
| 73 | <BLOCKQUOTE> |
| 74 | <B>corner</B> is implemented as a built-in <B>magic</B> command. |
| 75 | </BLOCKQUOTE> |
| 76 | |
| 77 | <H3>Bugs:</H3> |
| 78 | <BLOCKQUOTE> |
| 79 | If the area in the box is not large enough for |
| 80 | the cornering algorithm to produce the cornered |
| 81 | wires, unpredictable results often result. |
| 82 | </BLOCKQUOTE> |
| 83 | |
| 84 | <H3>See Also:</H3> |
| 85 | <BLOCKQUOTE> |
| 86 | <A HREF=diretion.html><I>direction</I></A> <BR> |
| 87 | <A HREF=fill.html><B>fill</B></A> <BR> |
| 88 | </BLOCKQUOTE> |
| 89 | |
| 90 | <P><IMG SRC=graphics/line1.gif><P> |
| 91 | <TABLE BORDER=0> |
| 92 | <TR> |
| 93 | <TD> <A HREF=commands.html>Return to command index</A> |
| 94 | </TR> |
| 95 | </TABLE> |
| 96 | <P><I>Last updated:</I> October 4, 2004 at 7:56am <P> |
| 97 | </BODY> |
| 98 | </HTML> |