Debian Codegraph @

doc/html/get.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>get, getcell</H2>
22 <HR>
23 Import a cell as a subcell of the current edit cell.
24 <HR>
25
26 <H3>Usage:</H3>
27 <BLOCKQUOTE>
28 <B>getcell</B> <I>cellname</I> [<I>orientation</I>] <BR><BR>
29 <B>getcell</B> <I>cellname</I> [<B>child</B> <I>child_refpoint</I>]
30 [<B>parent</B> <I>parent_refpoint</I>] <BR><BR>
31 <BLOCKQUOTE>
32 where <I>orientation</I> may be one of the following:
33 <DL>
34 <DT> <B>90</B>
35 <DD> Load rotated by 90 degrees clockwise
36 <DT> <B>180</B>
37 <DD> Load rotated by 180 degrees
38 <DT> <B>270</B>
39 <DD> Load rotated by 90 degrees counterclockwise
40 <DT> <B>v</B>
41 <DD> Load flipped top to bottom
42 <DT> <B>h</B>
43 <DD> Load flipped left to right
44 <DT> <B>90v</B>
45 <DD> Load rotated 90 degrees clockwise and flipped top to bottom
46 <DT> <B>90h</B>
47 <DD> Load rotated 90 degrees clockwise and flipped left to right
48 <DT> <B>180v</B>
49 <DD> Load rotated 180 degrees and flipped top to bottom
50 <DT> <B>180h</B>
51 <DD> Load rotated 180 degrees and flipped left to right
52 <DT> <B>270v</B>
53 <DD> Load rotated 90 degrees counterclockwise and flipped top to bottom
54 <DT> <B>270h</B>
55 <DD> Load rotated 90 degrees counterclockwise and flipped left to right
56 </DL>
57 and <I>child_refpoint</I> and <I>parent_refpoint</I> may be
58 <I>x y</I> coordinate pairs, or one of the four keywords
59 <B>ll</B>, <B>lr</B>, <B>ul</B>, or <B>ur</B>, indicating
60 one of the four box corners. For the child,
61 coordinate pairs are in the coordinate system of the child,
62 and corners indicate cell bounding box corners. For the
63 parent, coordinate pairs are in the coordinate system of
64 the parent, and corners indicate corners of the cursor box.
65 </BLOCKQUOTE>
66 </BLOCKQUOTE>
67
68 <H3>Summary:</H3>
69 <BLOCKQUOTE>
70 The <B>getcell</B> command creates subcell instances within the
71 current edit cell. By default, with only the <I>cellname</I>
72 given, an orientation of zero is assumed, and the cell is placed
73 such that the lower-left corner of the cell's bounding box is
74 placed at the lower-left corner of the cursor box in the parent
75 cell. <P>
76 </BLOCKQUOTE>
77
78 <H3>Implementation Notes:</H3>
79 <BLOCKQUOTE>
80 <B>getcell</B> is implemented as a built-in command in <B>magic</B>. <P>
81 <B>get</B> is an alias for the command <B>getcell</B> (allowed
82 abbreviation where otherwise use would be ambiguous). <P>
83
84 Scripts will find it more convenient to place cells according to
85 the cell origin, with the usage "<B>getcell</B> <I>cellname</I>
86 <B>child 0 0</B>".
87 </BLOCKQUOTE>
88
89 <H3>See Also:</H3>
90 <BLOCKQUOTE>
91 <A HREF=dump.html><B>dump</B></A>
92 </BLOCKQUOTE>
93
94 <P><IMG SRC=graphics/line1.gif><P>
95 <TABLE BORDER=0>
96 <TR>
97 <TD> <A HREF=commands.html>Return to command index</A>
98 </TR>
99 </TABLE>
100 <P><I>Last updated:</I> October 6, 2004 at 3:32am <P>
101 </BODY>
102 </HTML>