| 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>property</H2> |
| 22 | <HR> |
| 23 | Attach a "property" (string key and value pair) to the edit cell |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Usage:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | <B>property</B> [<I>key</I> [<I>value</I>]] <BR><BR> |
| 29 | <BLOCKQUOTE> |
| 30 | where <I>key</I> and <I>value</I> are any text strings. |
| 31 | </BLOCKQUOTE> |
| 32 | </BLOCKQUOTE> |
| 33 | |
| 34 | <H3>Summary:</H3> |
| 35 | <BLOCKQUOTE> |
| 36 | The <B>property</B> command implements a general-purpose method |
| 37 | of attaching information to a cell definition. Except for a |
| 38 | few properties known to the <B>lef</B> and <B>gds</B> commands |
| 39 | (q.v.), properties have no inherent meaning to magic but may be |
| 40 | used with other programs or scripts to add additional information |
| 41 | about a cell definition. <P> |
| 42 | |
| 43 | With no arguments, all properties of the current edit cell are |
| 44 | listed. With only the <I>key</I> argument, the value associated |
| 45 | with the key is returned. With both arguments, the string |
| 46 | <I>value</I> is associated with the string <I>key</I> as a |
| 47 | property of the cell. If <I>key</I> is an existing key, then |
| 48 | its original value will be overwritten. |
| 49 | </BLOCKQUOTE> |
| 50 | |
| 51 | <H3>Implementation Notes:</H3> |
| 52 | <BLOCKQUOTE> |
| 53 | <B>property</B> is implemented as a built-in command in <B>magic</B>. |
| 54 | The property structure itself is implemented as a hash table in |
| 55 | the cell definition structure. |
| 56 | </BLOCKQUOTE> |
| 57 | |
| 58 | <P><IMG SRC=graphics/line1.gif><P> |
| 59 | <TABLE BORDER=0> |
| 60 | <TR> |
| 61 | <TD> <A HREF=commands.html>Return to command index</A> |
| 62 | </TR> |
| 63 | </TABLE> |
| 64 | <P><I>Last updated:</I> December 4, 2005 at 8:05pm <P> |
| 65 | </BODY> |
| 66 | </HTML> |