| 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>undo</H2> |
| 22 | <HR> |
| 23 | Undo commands |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Shortcuts:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | Key macro <B>U</B> implements the command <B>undo</B>. |
| 29 | </BLOCKQUOTE> |
| 30 | |
| 31 | <H3>Usage:</H3> |
| 32 | <BLOCKQUOTE> |
| 33 | <B>undo</B> [<B>print</B> [<I>count</I>]] <BR><BR> |
| 34 | <BLOCKQUOTE> |
| 35 | where <I>count</I> indicates a number of events to be undone |
| 36 | (default 1 event), and must be a nonzero positive integer. |
| 37 | </BLOCKQUOTE> |
| 38 | </BLOCKQUOTE> |
| 39 | |
| 40 | <H3>Summary:</H3> |
| 41 | <BLOCKQUOTE> |
| 42 | The <B>undo</B> command reverses the effect of the last |
| 43 | executed command (command-line, script, or macro-invoked), |
| 44 | returning the layout to the state it was in prior to |
| 45 | execution of that command. <P> |
| 46 | |
| 47 | Certain commands in <B>magic</B> disable the undo mechanism, |
| 48 | thus preventing the command from being undone. These include |
| 49 | layout reads and writes, CIF, GDS, and LEF/DEF reads and |
| 50 | writes. |
| 51 | |
| 52 | The <B>print</B> option generates a stack trace of the top |
| 53 | <I>count</I> events in the undo stack, in excruciating |
| 54 | detail. |
| 55 | </BLOCKQUOTE> |
| 56 | |
| 57 | <H3>Implementation Notes:</H3> |
| 58 | <BLOCKQUOTE> |
| 59 | <B>undo</B> is implemented as a built-in window command in <B>magic</B>. |
| 60 | </BLOCKQUOTE> |
| 61 | |
| 62 | <H3>See Also:</H3> |
| 63 | <BLOCKQUOTE> |
| 64 | <A HREF=redo.html><B>redo</B></A> <BR> |
| 65 | </BLOCKQUOTE> |
| 66 | |
| 67 | <P><IMG SRC=graphics/line1.gif><P> |
| 68 | <TABLE BORDER=0> |
| 69 | <TR> |
| 70 | <TD> <A HREF=commands.html>Return to command index</A> |
| 71 | </TR> |
| 72 | </TABLE> |
| 73 | <P><I>Last updated:</I> October 15, 2004 at 5:55am <P> |
| 74 | </BODY> |
| 75 | </HTML> |