Files
magic/doc/html/what.html
T
Tim Edwards a816da60f9 Updated the HTML command reference files to refer to magic version 8.3,
since all of the title images still had 8.2, and the title text still
said 7.3 or 7.4, having not been updated for a long time.
2024-01-09 16:37:00 -05:00

74 lines
2.4 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-8.3 Command Reference</TITLE>
<BODY BACKGROUND=graphics/blpaper.gif>
<H1> <IMG SRC=graphics/magic_title8_3.png ALT="Magic VLSI Layout Tool Version 8.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>[<B>all</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. <P>
<B>-listall</B> is a variant of the Tcl list, in which the first
sub-list contains the types found, where each entry is itself a
list. Each list entry first item is the name of the layer, and
the second entry is a list containing the names of all subcells
where that type is found. <P>
</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> March 24, 2021 at 3:30pm <P>
</BODY>
</HTML>