Debian Codegraph @

doc/html/ext2sim.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>ext2sim, exttosim</H2>
22 <HR>
23 Convert extracted file(s) to a ".sim" format file.
24 <HR>
25
26 <H3>Usage:</H3>
27 <BLOCKQUOTE>
28 <B>ext2sim</B> [<I>option</I>] <BR><BR>
29 <BLOCKQUOTE>
30 where <I>option</I> is one of the following:
31 <DL>
32 <DT> [<B>run</B>] [<I>runtime_options</I>]
33 <DD> Run exttosim on current cell, with command-line options
34 (see Summary, below).
35 <DT> <B>alias on</B>|<B>off</B>
36 <DD> Enable/disable alias (.al) file
37 <DT> <B>labels on</B>|<B>off</B>
38 <DD> Enable/disable labels (.nodes) file
39 <DT> <B>default</B>
40 <DD> Reset to default values
41 <DT> <B>format MIT</B>|<B>SU</B>|<B>LBL</B>
42 <DD> Set output format
43 <DT> <B>rthresh</B> [<I>value</I>]
44 <DD> Set resistance threshold value. Lumped resistances
45 below this value will not be written to the output. The
46 value is in ohms, or may be the keyword <B>infinite</B>
47 to prohibit writing any lumped resistances to the output.
48 <DT> <B>cthresh</B> [<I>value</I>]
49 <DD> Set capacitance threshold value. The value is in femtofarads,
50 or may be the keyword <B>infinite</B> to prohibit writing
51 any parasitic capacitances to the output.
52 <DT> <B>merge</B> [<I>merge_option</I>]
53 <DD> Merge parallel devices/transistors. The valid merge options are:
54 <BLOCKQUOTE>
55 <DL>
56 <DT><B>conservative</B>
57 <DD> Merge transistors and capacitors having the same device
58 type and node connections and having the same width and
59 length. Widths are summed in the final output for
60 transistors. Capacitor values are summed in the final
61 output.
62 <DT><B>aggressive</B>
63 <DD> Merge transistors having the same node
64 connections and having the same length. Widths
65 are summed in the final output. Merge any capacitors
66 having the same device type and node connections.
67 Capacitance is summed in the final output.
68 <DT><B>none</B>
69 <DD> Do not merge any devices.
70 </DL>
71 </BLOCKQUOTE>
72 <DT> <B>extresist on</B>|<B>off</B>
73 <DD> Incorporate output from the command <B>extresist</B> into
74 the final <TT>.sim</TT> file.
75 <DT> <B>help</B>
76 <DD> Print help information
77 </DL>
78
79 </BLOCKQUOTE>
80 </BLOCKQUOTE>
81
82 <H3>Summary:</H3>
83 <BLOCKQUOTE>
84 Without options, or with the option <B>run</B>,
85 the <B>ext2sim</B> command converts the hierarchical extracted
86 netlist information produced by the <B>extract</B> command in
87 a series of <TT>.ext</TT> files into a flattened representation
88 in the <TT>.sim</TT> format, used for switch-level simulation. <P>
89
90 <I>runtime_options</I> may be passed on the command line, and
91 represent the original command-line options passed to the
92 standalone version of ext2sim. A number of the original
93 command-line options have been deprecated in the Tcl-based
94 version, and some are duplicated by other <B>ext2sim</B> options.
95 Valid <I>runtime_options</I> are:
96 <BLOCKQUOTE>
97 <DL>
98 <DT> <B>-B</B>
99 <DD> Don't output transistor or node attributes in the .sim file.
100 This option will also disable the output of information such
101 as the area and perimeter of source and drain diffusion and
102 the FET substrate.
103 <DT> <B>-F</B>
104 <DD> Don't output nodes that aren't connected to devices (floating
105 nodes).
106 <DT> <B>-t</B><I>char</I>
107 <DD> Trim characters from node names when writing the output file.
108 <I>char</I> should be either "<B>#</B>" or "<B>!</B>". The
109 option may be used twice if both characters require trimming.
110 <DT> <B>-y</B> <I>num</I>
111 <DD> Select the precision for outputting capacitors. The default is
112 1 which means that the capacitors will be printed to a precision
113 of 0.1 fF.
114 <DT> <B>-J</B> <B>hier</B>|<B>flat</B>
115 <DD> Select the source/drain area and perimeter extraction algorithm.
116 If <B>hier</B> is selected then the areas and perimeters are
117 extracted only within each subcell. For each device in a
118 subcell the area and perimeter of its source and drain within
119 this subcell are output. If two or more devices share a
120 source/drain node then the total area and perimeter will be
121 output in only one of them and the other will have 0. If
122 <B>flat</B> is selected the same rules apply, only the scope
123 of search for area and perimeter is the whole netlist. In
124 general, <B>flat</B> (which is the default) will give accurate
125 results (it will take into account shared sources/drains).
126 </DL>
127 </BLOCKQUOTE>
128
129 With options, the command sets various parameters affecting the
130 output format and content. <P>
131 </BLOCKQUOTE>
132
133 <H3>Implementation Notes:</H3>
134 <BLOCKQUOTE>
135 <B>ext2sim</B> is implemented as a separate loadable Tcl package,
136 but one which depends on the presence of the standard "tclmagic"
137 package. <B>magic</B> is set up with a placeholder command for
138 <B>ext2sim</B>, and will automatically load the Tcl package when
139 this command is invoked. <P>
140
141 <B>exttosim</B> is an alias for <B>ext2sim</B>, to satisfy the
142 grammatically anal retentive.
143 </BLOCKQUOTE>
144
145 <H3>See Also:</H3>
146 <BLOCKQUOTE>
147 <A HREF=extract.html><B>extract</B></A> <BR>
148 <A HREF=extresist.html><B>extresist</B></A> <BR>
149 <A HREF=ext2spice.html><B>ext2spice</B></A> <BR>
150 <A HREF=irsim.html><B>irsim</B></A> <BR>
151 </BLOCKQUOTE>
152
153 <P><IMG SRC=graphics/line1.gif><P>
154 <TABLE BORDER=0>
155 <TR>
156 <TD> <A HREF=commands.html>Return to command index</A>
157 </TR>
158 </TABLE>
159 <P><I>Last updated:</I> October 12, 2005 at 9:40pm <P>
160 </BODY>
161 </HTML>