Debian Codegraph @

doc/html/flatten.html

raw symbols SCIP
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>flatten</H2>
22 <HR>
23 Flatten edit cell into the indicated destination cell.
24 <HR>
25
26 <H3>Usage:</H3>
27 <BLOCKQUOTE>
28 <B>flatten</B> <I>cellname</I> [<I>option</I>] <BR><BR>
29 <BLOCKQUOTE>
30 where <I>cellname</I> is the name of a cell definition to be
31 created, and into which the flattened geometry will be placed.
32 <I>option</I> may be one of <B>-nolabels</B>, <B>-nosubcircuit</B>,
33 or <B>-novendor</B>.
34 </BLOCKQUOTE>
35 </BLOCKQUOTE>
36
37 <H3>Summary:</H3>
38 <BLOCKQUOTE>
39 The <B>flatten</B> command creates a new cell with the indicated
40 name, then flattens the hierarchy of the current edit cell and
41 copies the result into the new cell. <P>
42
43 The options allow selective flattening, as follows:
44 <DL>
45 <DT> <B>-nolabels</B>
46 <DD> Prevents magic from copying labels into the flattened cell.
47 Otherwise, magic flattens labels by prepending the cell
48 hierarchy to each label as it copies it into the flat cell.
49 <DT> <B>-nosubcircuit</B>
50 <DD> Prevents magic from flattening cells declared to be subcircuits
51 (by the presence of ports in the cell). These cells are
52 retained as subcells in the flattened version.
53 <DT> <B>-novendor</B>
54 <DD> Prevents magic from flattening cells that are vendor cells,
55 that is, cells that are generated by reading GDS using the
56 <B>gds readonly</B> option, or which have the appropriate
57 property values set.
58
59 </DL>
60
61 Note that <I>cellname</I> is a top-level cell but is not displayed
62 or saved subsequent to the <B>flatten</B> command. The usual
63 procedure is to follow the command "<B>flatten</B> <I>cellname</I>"
64 with "<B>load</B> <I>cellname</I>", to view the new flattened
65 layout.
66 </BLOCKQUOTE>
67
68 <H3>Implementation Notes:</H3>
69 <BLOCKQUOTE>
70 <B>flatten</B> is implemented as a built-in command in <B>magic</B>.
71 </BLOCKQUOTE>
72
73 <P><IMG SRC=graphics/line1.gif><P>
74 <TABLE BORDER=0>
75 <TR>
76 <TD> <A HREF=commands.html>Return to command index</A>
77 </TR>
78 </TABLE>
79 <P><I>Last updated:</I> December 4, 2005 at 8:04pm <P>
80 </BODY>
81 </HTML>