Files
magic/doc/html/promptsave.html
T
Tim Edwards a816da60f9 Updated the HTML command reference files to refer to magic version 8.3,
since all of the title images still had 8.2, and the title text still
said 7.3 or 7.4, having not been updated for a long time.
2024-01-09 16:37:00 -05:00

73 lines
2.3 KiB
HTML

<HTML>
<HEAD>
<STYLE type="text/css">
H1 {color: black }
H2 {color: maroon }
H3 {color: #007090 }
A.head:link {color: #0060a0 }
A.head:visited {color: #3040c0 }
A.head:active {color: white }
A.head:hover {color: yellow }
A.red:link {color: red }
A.red:visited {color: maroon }
A.red:active {color: yellow }
</STYLE>
</HEAD>
<TITLE>Magic-8.3 Command Reference</TITLE>
<BODY BACKGROUND=graphics/blpaper.gif>
<H1> <IMG SRC=graphics/magic_title8_3.png ALT="Magic VLSI Layout Tool Version 8.3">
<IMG SRC=graphics/magic_OGL_sm.gif ALIGN="top" ALT="*"> </H1>
<H2>promptsave</H2>
<HR>
Invoke the load-file widget in the GUI version of magic, prompting for
a file to load.
<HR>
<H3>Shortcuts:</H3>
<BLOCKQUOTE>
Menu item <B>File->Save layout</B> implements the command
<B>promptsave magic</B>.<BR>
Menu item <B>File->Write CIF</B> implements the command <B>promptsave cif</B>.<BR>
Menu item <B>File->Write GDS</B> implements the command <B>promptsave gds</B>.
</BLOCKQUOTE>
<H3>Usage:</H3>
<BLOCKQUOTE>
<B>promptsave</B> <B>magic</B>|<B>cif</B>|<B>gds</B> <BR><BR>
</BLOCKQUOTE>
<H3>Summary:</H3>
<BLOCKQUOTE>
The <B>promptsave</B> command handles output of various file formats
for the GUI layout window in the Tcl-based version of magic when
invoked with the <B>magic -w</B> option. The handling of CIF and
GDS formats merely makes calls to the <B>cif</B> and <B>gds</B>
write routines. The handling of <B>magic</B> (<TT>.mag</TT>)
format appends the destination path to the search path. If the
destination filename is changed in the Tk file window, the <B>save</B>
command is invoked to rename the top-level layout appropriately before
writing the output.
</BLOCKQUOTE>
<H3>Implementation Notes:</H3>
<BLOCKQUOTE>
<B>promptsave</B> is implemented as a Tcl procedure in the "wrapper"
script. It calls the <B>tk_getSaveFile</B> widget in Tk.
</BLOCKQUOTE>
<H3>See Also:</H3>
<BLOCKQUOTE>
<A HREF=promptload.html><B>promptload</B></A> <BR>
</BLOCKQUOTE>
<P><IMG SRC=graphics/line1.gif><P>
<TABLE BORDER=0>
<TR>
<TD> <A HREF=commands.html>Return to command index</A>
</TR>
</TABLE>
<P><I>Last updated:</I> March 7, 2020 at 1:06pm <P>
</BODY>
</HTML>