Debian Codegraph @

doc/html/cif.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>cif</H2>
22 <HR>
23 Read CIF input or generate CIF output.
24 <HR>
25
26 <H3>Usage:</H3>
27 <BLOCKQUOTE>
28 <B>cif</B> [<I>option</I>] <BR><BR>
29 <BLOCKQUOTE>
30 where <I>option</I> is one of the following:
31 <DL>
32 <DT> <B>help</B>
33 <DD> Print usage information
34 <DT> <B>arealabels</B> [<B>yes</B>|<B>no</B>]
35 <DD> Enable/diable use of the CIF area label extension. The
36 default is "yes". Normally there is no reason not to
37 do this.
38 <DT> <B>coverage</B> <I>layer</I>
39 <DD> Report the coverage of the indicated CIF layer within the
40 bounds of the current edit cell. This is useful for
41 fabrication processes that require a minimum amount of
42 coverage for specific layers (usually the metal routing
43 layers).
44 <DT> <B>idcell</B> [<B>yes</B>|<B>no</B>]
45 <DD> Enable/diable use of the CIF cell ID extension. The
46 default is "yes". Normally there is no reason not to
47 do this.
48 <DT> <B>lambda</B> <B>in</B>|<B>out</B>
49 <DD> Report the number of microns per lambda for the current
50 style. If "<B>in</B>" is specified, the value is
51 reported for the current CIF/GDS input style. If
52 "<B>out</B>" is specified, the value is reported for
53 the current CIF/GDS output style.
54 <DT> <B>limit</B> [<I>value</I>]
55 <DD> Limit the amount of internal grid subdivision to the
56 indicated value (which is dimensionless, the ratio
57 of the maximum subdivision to the current lambda
58 value). If no <I>value</I> is given, the current
59 limit is reported. By default, the value is set to
60 100, as grid subdivision smaller than this amount
61 can result in integer overflow on subsequent CIF or
62 GDS output.
63 <DT> <B>rescale</B> [<B>yes</B>|<B>no</B>]
64 <DD> Allow or disallow internal grid subdivision while reading
65 CIF input. Default is "yes". Normally, one wants to allow
66 rescaling to ensure that the CIF is displayed exactly as it
67 is in the input file. Occasionally, however, the CIF input
68 is on a very fine scale, such as nanometers, and it is
69 preferable to snap the input to lambda boundaries rather
70 than to subsplit the internal grid to such a fine value.
71 The <B>limit</B> option may also be used to limit grid
72 subdivision to a minimum value (see above).
73 <DT> <B>warning</B> [<I>option</I>]
74 <DD> Set warning information level. "<I>option</I>" may be one
75 of the following:
76 <DL>
77 <DT><B>default</B>
78 <DD> The default setting is equivalent to all the other
79 options (<B>align</B>, <B>limit</B>, <B>redirect</B>,
80 and <B>none</B>) being disabled.
81 <DT><B>align</B>
82 <DD> Generate warnings during a "<B>cif see</B>" command
83 if the alignment of geometry is on fractional lambda.
84 Normally, magic allows contacts to be drawn at
85 half-lambda positions. If this violates DRC requirements
86 for the minimum output grid, this warning setting can be
87 used to detect such violations.
88 <DT><B>limit</B>
89 <DD> Limit warnings to the first 100 warnings or errors only.
90 <DT><B>redirect</B> [<I>file</I>]
91 <DD> Redirect all warnings to an output file named <I>file</I>.
92 If <I>file</I> is not given, then redirection is disabled.
93 <DT><B>none</B>
94 <DD> Do not produce any warning messages on CIF input.
95 </DL>
96 <DT> <B>polygon subcells</B> [<B>yes</B>|<B>no</B>]
97 <DD> Put non-Manhattan polygons into subcells. Default is "no".
98 Normally this option is not needed. However, input layout
99 that defines a number of angled wires, particularly those
100 that are closely spaced, can cause <B>magic</B> to generate
101 literally millions of internal tiles. This tends to be
102 true in particular for corner cells in padframes for deep
103 submicron feature sizes, where the angled corners are
104 required to meet the DRC specification. When set to "yes",
105 each polygon encountered in the CIF input is placed in its
106 own uniquely-named subcell. This prevents interations with
107 other polygons on the same plane and so reduces tile splitting.
108 <DT> <B>see</B> <I>layers</I>
109 <DD> View the CIF/GDS output layers in the comma-separated list
110 <I>layers</I> as feedback entries on the layout. This is
111 useful for determining what the actual foundry layer types
112 are doing as a result of the boolean operations in the
113 CIF/GDS output style. Most useful for debugging technology
114 file CIF/GDS output style sections, or tracing DRC error
115 reports from sources other than <B>magic</B>. CIF output
116 is computed and feedback is shown only inside the cursor
117 box area.
118 <CENTER>
119 <IMG SRC=graphics/cif_see.gif> <BR>
120 <I>Figure 1. Command <B>cif see CSP</B> shows the P+
121 implant layer surrounding the P diffusion regions within
122 the cursor box area.</I>
123 </CENTER>
124 <DT> <B>statistics</B>
125 <DD> Print statistics from the CIF generator, including tile
126 operations, rectangles output, and interactions between
127 cells. Not especially useful to the typical end-user.
128 <DT> <B>prefix</B> [<I>path</I>]
129 <DD> Prepend the path name <I>path</I> to cell names in the
130 CIF output. If no <I>path</I> is specified, reports the
131 existing path name.
132 <DT> [<B>list|listall</B>] <B>istyle</B> [<I>style</I>]
133 <DD> Set the current input style to <I>style</I>. If no
134 <I>style</I> is specified, returns the current input
135 style. To get a list of all available input styles
136 in the current technology, use the <B>listall
137 istyle</B> option. The <B>list istyle</B> option
138 returns the current style name as a Tcl result.
139 <DT> [<B>list|listall</B>] <B>ostyle</B> [<I>style</I>]
140 <DD> Set the current output style to <I>style</I>. If no
141 <I>style</I> is specified, returns the current output
142 style. To get a list of all available output styles
143 in the current technology, use the <B>listall
144 ostyle</B> option. The <B>list ostyle</B> option
145 returns the current style name as a Tcl result.
146 <DT> <B>flat</B> <I>file</I>
147 <DD> Output CIF format to "<I>file</I>" for the window's root
148 cell, flattening the hierarchy prior to output.
149 <DT> <B>read</B> <I>file</I>
150 <DD> Read CIF format from file <I>file</I> into the edit cell.
151 If <I>file</I> does not have a file extension, then <B>magic</B>
152 searches for a file named <I>file</I> or <I>file</I>.cif.
153 <DT> <B>write</B> <I>file</I>
154 <DD> Output CIF format to "<I>file</I>" for the window's root cell.
155 </DL>
156 </BLOCKQUOTE>
157 </BLOCKQUOTE>
158
159 <H3>Summary:</H3>
160 <BLOCKQUOTE>
161 The <B>cif</B> command reads CIF input or produces CIF input/output
162 ("Caltech Intermediate Format", as described in Mead & Conway),
163 or sets various parameters affecting the CIF (and GDS) input and
164 output. Certain <B>cif</B> command options also affect GDS input
165 and output. <P>
166
167 If no option is given, a CIF file is produced for the root cell,
168 with the default name of the root cell definition and the
169 filename extension ".cif". <P>
170 </BLOCKQUOTE>
171
172 <H3>Implementation Notes:</H3>
173 <BLOCKQUOTE>
174 <B>cif</B> is implemented as a built-in function in <B>magic</B>.
175 Options <B>list</B> and <B>listall</B> cause output to be
176 returned as a Tcl result, rather than printed to stdout (the
177 console).
178 </BLOCKQUOTE>
179
180 <H3>See Also:</H3>
181 <BLOCKQUOTE>
182 <A HREF=gds.html><B>gds</B> (<B>calma</B>)</A> <BR>
183 </BLOCKQUOTE>
184
185 <P><IMG SRC=graphics/line1.gif><P>
186 <TABLE BORDER=0>
187 <TR>
188 <TD> <A HREF=commands.html>Return to command index</A>
189 </TR>
190 </TABLE>
191 <P><I>Last updated:</I> October 4, 2004 at 8:03am <P>
192 </BODY>
193 </HTML>