| 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>scalegrid</H2> |
| 22 | <HR> |
| 23 | Set the ratio of magic internal units to lambda units |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Usage:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | <B>scalegrid</B> <I>a b</I> <BR><BR> |
| 29 | <BLOCKQUOTE> |
| 30 | where <I>a</I> and <I>b</I> are integers. |
| 31 | </BLOCKQUOTE> |
| 32 | </BLOCKQUOTE> |
| 33 | |
| 34 | <H3>Summary:</H3> |
| 35 | <BLOCKQUOTE> |
| 36 | The <B>scalegrid</B> command sets the ratio of magic internal |
| 37 | units to lambda units by rescaling the internal database and |
| 38 | appropriate technology parameters. The values <I>a</I> and |
| 39 | <I>b</I> are interpreted to mean that all positions in the |
| 40 | database should be multiplied by the factor <I>b</I> / <I>a</I>. |
| 41 | An equivalent meaning is that there should be <I>b</I> internal |
| 42 | units per <I>a</I> lambda units in the database. For example, |
| 43 | <BLOCKQUOTE> |
| 44 | <B>scalegrid 1 2</B> |
| 45 | </BLOCKQUOTE> |
| 46 | means 2 internal units per lambda, or an internal grid that is |
| 47 | twice as finely spaced as the default. The grid scaling can |
| 48 | be queried using the <B>tech lambda</B> command. Grid scaling |
| 49 | is interpreted relative to the current scale, so |
| 50 | <BLOCKQUOTE> |
| 51 | <B>scalegrid 1 2</B> <BR> |
| 52 | <B>scalegrid 1 2</B> |
| 53 | </BLOCKQUOTE> |
| 54 | results in 4 internal units per lambda. |
| 55 | </BLOCKQUOTE> |
| 56 | |
| 57 | <H3>Implementation Notes:</H3> |
| 58 | <BLOCKQUOTE> |
| 59 | <B>scalegrid</B> is implemented as a built-in command in <B>magic</B>. |
| 60 | </BLOCKQUOTE> |
| 61 | |
| 62 | <H3>See Also:</H3> |
| 63 | <BLOCKQUOTE> |
| 64 | <A HREF=snap.html><B>snap</B></A> <BR> |
| 65 | <A HREF=tech.html><B>tech</B></A> <BR> |
| 66 | </BLOCKQUOTE> |
| 67 | |
| 68 | <P><IMG SRC=graphics/line1.gif><P> |
| 69 | <TABLE BORDER=0> |
| 70 | <TR> |
| 71 | <TD> <A HREF=commands.html>Return to command index</A> |
| 72 | </TR> |
| 73 | </TABLE> |
| 74 | <P><I>Last updated:</I> October 8, 2004 at 2:14am <P> |
| 75 | </BODY> |
| 76 | </HTML> |