magic/doc/html/what.html

68 lines
2.0 KiB
HTML

<HTML>
<HEAD>
<STYLE type="text/css">
H1 {color: black }
H2 {color: maroon }
H3 {color: #007090 }
A.head:link {color: #0060a0 }
A.head:visited {color: #3040c0 }
A.head:active {color: white }
A.head:hover {color: yellow }
A.red:link {color: red }
A.red:visited {color: maroon }
A.red:active {color: yellow }
</STYLE>
</HEAD>
<TITLE>Magic-7.3 Command Reference</TITLE>
<BODY BACKGROUND=graphics/blpaper.gif>
<H1> <IMG SRC=graphics/magic_title2.gif ALT="Magic VLSI Layout Tool Version 7.3">
<IMG SRC=graphics/magic_OGL_sm.gif ALIGN="top" ALT="*"> </H1>
<H2>what</H2>
<HR>
Print out information about what material is in the current selection.
Short summary.
<HR>
<H3>Shortcuts:</H3>
<BLOCKQUOTE>
Key macro <B>/</B> (slash) implements the command <B>what</B>.
</BLOCKQUOTE>
<H3>Usage:</H3>
<BLOCKQUOTE>
<B>what</B> [<B>-list</B>] <BR><BR>
</BLOCKQUOTE>
<H3>Summary:</H3>
<BLOCKQUOTE>
The <B>what</B> command queries what material is in the current
selection. This includes a report on layers, labels, and subcell
instances that are selected. <P>
In the Tcl version of <B>magic</B>, the <B>-list</B> option
returns the result as a Tcl list containing three sub-lists.
The first sub-list contains the types found, the second contains
the labels found, and the third contains the subcells found.
Each label in the second sub-list is itself a list of three
items: The label text, the layer the label is attached to, and
the cell def containing the label. Each subcell in the third
sub-list is itself a list of two items: The subcell instance
ID name, and the cell definition name.
</BLOCKQUOTE>
<H3>Implementation Notes:</H3>
<BLOCKQUOTE>
<B>what</B> is implemented as a built-in command in <B>magic</B>.
</BLOCKQUOTE>
<P><IMG SRC=graphics/line1.gif><P>
<TABLE BORDER=0>
<TR>
<TD> <A HREF=commands.html>Return to command index</A>
</TR>
</TABLE>
<P><I>Last updated:</I> October 15, 2004 at 6:25am <P>
</BODY>
</HTML>