| 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>help</H2> |
| 22 | <HR> |
| 23 | Print out synopses for all commands valid in the current window (or |
| 24 | restrict output to those containing the indicated pattern) |
| 25 | <HR> |
| 26 | |
| 27 | <H3>Usage:</H3> |
| 28 | <BLOCKQUOTE> |
| 29 | <B>help</B> [<I>pattern</I>] <BR><BR> |
| 30 | <BLOCKQUOTE> |
| 31 | where <I>pattern</I> is any keyword or text string. |
| 32 | </BLOCKQUOTE> |
| 33 | </BLOCKQUOTE> |
| 34 | |
| 35 | <H3>Summary:</H3> |
| 36 | <BLOCKQUOTE> |
| 37 | The <B>help</B> command invokes the built-in help function in |
| 38 | <B>magic</B>, which lists the summary usage information that |
| 39 | has been compiled into magic for each command. The summary |
| 40 | help information is usually only a single line of text. |
| 41 | Commands that have complicated sets of options have their |
| 42 | own <B>help</B> option, which is not part of the <B>help</B> |
| 43 | command. <P> |
| 44 | |
| 45 | Without arguments, <B>help</B> reports a summary usage for |
| 46 | every command in magic. With arguments, magic filters the |
| 47 | output to report only those commands matching the indicated |
| 48 | text <I>pattern</I>. <P> |
| 49 | |
| 50 | The output is divided into |
| 51 | general-purpose and window-specific sections. The window-specfic |
| 52 | section depends on the active window. For instance, with a |
| 53 | single layout window present, <B>help cleanup</B> returns no |
| 54 | information. However, the command <B>specialopen netlist</B> |
| 55 | followed by <B>help cleanup</B> will report the usage of the |
| 56 | command <B>cleanup</B>, which is a command that can only be |
| 57 | invoked from the netlist window. <P> |
| 58 | </BLOCKQUOTE> |
| 59 | |
| 60 | <H3>Implementation Notes:</H3> |
| 61 | <BLOCKQUOTE> |
| 62 | <B>help</B> is implemented as a built-in command in <B>magic</B>. |
| 63 | Note that there is no general-purpose command-line-based help |
| 64 | method for Tcl commands, so the <B>help</B> command will not |
| 65 | provide any information about magic commands written as Tcl |
| 66 | procedures, such as <B>openwrapper</B> or <B>pushstack</B>. |
| 67 | The general convention is for each Tcl procedure to allow the |
| 68 | option <B>help</B> and provide its own usage information. |
| 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 6, 2004 at 7:02pm <P> |
| 78 | </BODY> |
| 79 | </HTML> |