| 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>command_name</H2> |
| 22 | <HR> |
| 23 | Place a label in the layout |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Usage:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | <B>label</B> <I>string</I> [<I>position</I> [<I>layer</I>]] <BR><BR> |
| 29 | <BLOCKQUOTE> |
| 30 | where <I>string</I> is the text of the label, <I>position</I> |
| 31 | may be any valid <A HREF=direction.html><I>direction</I></A> |
| 32 | in <B>magic</B>, and <I>layer</I> may be any valid layer in |
| 33 | the technology. |
| 34 | </BLOCKQUOTE> |
| 35 | </BLOCKQUOTE> |
| 36 | |
| 37 | <H3>Summary:</H3> |
| 38 | <BLOCKQUOTE> |
| 39 | The <B>label</B> command places a label on the layout. The label |
| 40 | is marked by a point, line, or rectangle, depending on the size |
| 41 | of the cursor box. If the area under the cursor box contains |
| 42 | exactly one type, the label will be "attached" to that type; that |
| 43 | is, the label will name the network of the node containing that |
| 44 | type. If the area under the cursor box contains multiple layers, |
| 45 | one will be chosen for attachment to the label. If there are |
| 46 | multiple network nodes under the cursor box, the result may not |
| 47 | be what the user intended; in such cases, the user should specify |
| 48 | which <I>layer</I> the label should be attached to, so that the |
| 49 | appropriate network node will be labeled. <P> |
| 50 | |
| 51 | The label text is placed to one side of the marker in the |
| 52 | direction indicated by the <I>position</I> argument. For |
| 53 | example, "<B>label text north</B>" will draw the label string |
| 54 | "<TT>text</TT>" to the north (above) the marker. <P> |
| 55 | |
| 56 | Labels cannot be directly modified; modifications should be |
| 57 | handled by first erasing the label with "<B>erase label</B>" |
| 58 | and then redrawing. |
| 59 | </BLOCKQUOTE> |
| 60 | |
| 61 | <H3>Implementation Notes:</H3> |
| 62 | <BLOCKQUOTE> |
| 63 | <B>label</B> is implemented as a built-in command in <B>magic</B>. |
| 64 | </BLOCKQUOTE> |
| 65 | |
| 66 | <H3>See Also:</H3> |
| 67 | <BLOCKQUOTE> |
| 68 | <A HREF=port.html><B>port</B></A> <BR> |
| 69 | </BLOCKQUOTE> |
| 70 | |
| 71 | <P><IMG SRC=graphics/line1.gif><P> |
| 72 | <TABLE BORDER=0> |
| 73 | <TR> |
| 74 | <TD> <A HREF=commands.html>Return to command index</A> |
| 75 | </TR> |
| 76 | </TABLE> |
| 77 | <P><I>Last updated:</I> October 7, 2004 at 1:11am <P> |
| 78 | </BODY> |
| 79 | </HTML> |