Debian Codegraph @

doc/html/snap.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>snap</H2>
22 <HR>
23 Cause box to snap to the selected grid when moved by the cursor. Also,
24 cause distance measurements to be interpreted by default as measurments
25 in the selected grid.
26 <HR>
27
28 <H3>Usage:</H3>
29 <BLOCKQUOTE>
30 <B>snap</B> [<B>internal</B>|<B>lambda</B>|<B>user</B>] <BR><BR>
31 </BLOCKQUOTE>
32
33 <H3>Summary:</H3>
34 <BLOCKQUOTE>
35 The <B>snap</B> command causes the cursor box to snap to the
36 selected grid when moved by pointer button events. The selected
37 grids are <B>internal</B>, the size of the internal database,
38 <B>lambda</B>, the lambda grid based on the technology minimum
39 feature size, and <B>user</B>, based on the value given by the
40 user to the <B>grid</B> command. <P>
41
42 In addition to changing the behavior of the box to mouse
43 button events, the <B>snap</B> command also changes the way
44 that <A HREF=distance.html>distance measurements</A> are
45 interpreted in commands that take distance arguments, such
46 as <B>move</B>, <B>copy</B>, and <B>stretch</B>. An integer
47 number with no other identifying units is interpreted as a
48 measurement in the current snap grid. All other measurements
49 must have an identifying unit: <B>i</B> for internal units,
50 <B>l</B> for lambda units, and <B>g</B> for user grid units
51 (as well as the usual metric units). Even when <B>snap</B>
52 is set to the larger lambda or user grids, it is possible to
53 move the cursor box to finer grid positions from the command
54 line. See the reference page on
55 <A HREF=distance.html>distance measures</A> for a complete
56 description of distance values. <P>
57
58 <B>snap</B> with no arguments returns the current snap grid
59 type. <P>
60
61 By default, the internal and lambda grids are the same. However,
62 CIF, GDS, or LEF/DEF input on a finer scale can cause the internal
63 grid to be set finer than the lambda grid. Also, the <B>scalegrid</B>
64 command can be used to separate the internal and lambda grids.
65 Note that the use of "lambda" is merely a convention. Traditionally,
66 scalable CMOS rules were based on units of "lambda", equal to
67 one-half the minimum feature size of the technology. Many
68 technology files are still based on lambda rules, which are usually
69 more conservative than vendor rules. However, some technology files
70 may be based on exactly implementing vendor rules, and may set
71 the internal grid spacing to a finer resolution, such as 0.1 micron
72 or smaller. In such cases, the use of the term "lambda" is a
73 misnomer.
74 </BLOCKQUOTE>
75
76 <H3>Implementation Notes:</H3>
77 <BLOCKQUOTE>
78 <B>snap</B> is implemented as a built-in command in <B>magic</B>.
79 </BLOCKQUOTE>
80
81 <H3>See Also:</H3>
82 <BLOCKQUOTE>
83 <A HREF=grid.html><B>grid</B></A> <BR>
84 </BLOCKQUOTE>
85
86 <P><IMG SRC=graphics/line1.gif><P>
87 <TABLE BORDER=0>
88 <TR>
89 <TD> <A HREF=commands.html>Return to command index</A>
90 </TR>
91 </TABLE>
92 <P><I>Last updated:</I> October 8, 2004 at 7:16am <P>
93 </BODY>
94 </HTML>