Debian Codegraph @

README

raw
1 1. General Information:
2 ---------------------------------
3 Use your World Wide Web browser to read:
4
5 http://opencircuitdesign.com/magic/
6 http://vlsi.csl.cornell.edu/magic/
7 http://www.research.digital.com/wrl/magic/magic.html
8
9 Primary documentation is on the opencircuitdesign.com website under
10 the "Documentation" link.
11
12 The current development versions of magic are maintained by Tim Edwards
13 <[email protected]> and the current distribution version is
14 maintained by Rajit Manohar <[email protected]>. Please let us
15 know of any problems/bugs you find. Development of versions 7.2 and
16 newer is generously funded by MultiGiG, Inc.
17
18 2. Compilation and Installation:
19 ---------------------------------
20 See the file "INSTALL" in this directory.
21
22 3. Version 8.3 Release Notes:
23 ---------------------------------
24
25 During the course of version 8.2, magic moved to a git-oriented
26 development. There are no longer "stable" and "distribution"
27 versions. There is only the git repo with various development
28 branches.
29
30 First release contains the "bplane" implementation for the cell
31 plane pulled from the open source code for micromagic. This is
32 much more efficient than using the corner-stitched tile plane
33 for cells, and speeds up a number of methods, such as extraction,
34 by a factor of 3 to 5 or so, depending on the amount of hierarchy
35 in the design.
36
37 4. Version 8.2 Release Notes:
38 ---------------------------------
39
40 As of the release of version 8.2, Version 8.1 is now the new stable
41 distribution, and 8.2 is the development distribution. First
42 development push over 8.1 is to add a Cairo (2D hardware-accelerated
43 graphics) interface ("magic -d CAIRO" or "magic -d XR").
44
45 October, 2017: DRC changes correctly handle DRC errors in a child
46 cell that are effectively corrected by geometry in the parent cell.
47
48 March, 2018: Added better version handling of subcells. "Use"
49 records contain a path (relative or absolute) to the library used
50 by the subcell, and this path is honored as long as it can be
51 found.
52
53 April, 2018: Added the "plow" function back to the level of
54 capability it originally had. This does not include handling of
55 magic extensions since version 7, including non-manhattan geometry,
56 stacked contacts, and DRC rule extensions.
57
58 Extended the extraction method to allow multiple extracted device
59 types per magic layer, depending on the surrounding context
60 (connecting layers, substrate, identifier layers, etc.).
61
62 Corrected the "extresist" method for non-FET devices, although it
63 continues to need fundamental work to remove its dependence on the
64 ".sim" format files.
65
66 5. Version 8.1 Release Notes:
67 ---------------------------------
68
69 As of the release of version 8.1, Version 8.0 is now the new stable
70 distribution, and 8.1 is the development distribution.
71
72 What's new in 8.1:
73 ------------------
74 1) Substantially revised substrate handling allows for "soft
75 connectivity" detection, and resolves (finally) the problem of
76 the hack handling of nMOS bulk connections using a default
77 name without any understanding of a substrate node and
78 connectivity.
79
80 6. Version 8.0 Release Notes:
81 ---------------------------------
82
83 As of the release of version 8.0, Version 7.5 is now the new stable
84 distribution, and 8.0 is the development distribution.
85
86 What's new in 8.0:
87 ------------------
88 1) Vector outline fonts with ability to control font, scale, rotation,
89 and offset. Public-license outline fonts provided by the freefont
90 project.
91
92 2) Hierarchical SPICE output for LVS.
93
94 3) New cifoutput operators including "net" and "maxrect", specifically
95 for using with the "cif paint" command.
96
97 4) DRC method for handling via rules specifying overlap on two
98 opposite sides but not on the others.
99
100 5) Improved DRC method that ignores errors in subcells that are
101 masked by the parent cell.
102
103 6) Improved cell manager based on methods available in Tk 8.5
104
105 7) New extraction method "msubcircuit" with methods for specifying
106 parameter names for source/drain area and perimeter.
107
108 7. Version 7.5 Release Notes:
109 ---------------------------------
110
111 Version 7.5 is the development branch. Version 7.5.0 is the same as
112 7.4.2, which is essentially the same as 7.3.123, plus some
113 documentation updates. Intended development is as follows:
114
115 What's new in 7.5:
116 ------------------
117 1) Use a finely spaced grid for the database, but keep the concept
118 of "lambda" for layout. Keep backwards compatibility, and resolve
119 issues with layout that does not work well on the lambda grid.
120 Implemented in 7.5.1 by allowing a DRC "scalefactor" line,
121 which declares that all DRC rules are in units of (lambda /
122 scalefactor). Rules "in use" are scaled to lambda and rounded to
123 the nearest integer. The original value is retained, however, so
124 that any call to "scalegrid" will recompute the DRC distances based
125 on the current internal grid. Thus, we can define DRC rules in
126 fractional lambda and therefore match vendor DRC rule distances
127 while still maintaining magic's concept of "lambda". This means
128 that users working entirely within magic have scalable CMOS rules,
129 but if a "vendor cell" (3rd party GDS or CIF) is loaded, the DRC
130 rules will be correct with respect to it.
131 2) Multiple DRC styles allowed in the technology file.
132 3) Memory-mapped tile allocation using the mmap() function.
133 4) Layer and cell instance locking
134 5) Euclidean-distance measure on "cif grow" operator.
135 6) "cif paint" command to automatically manipulate the database
136 paint using "cifoutput" rulesets.
137 7) New contact-cut generation algorithm.
138 8) Added the ability to define and extract MOS devices with
139 asymmetric source and drain.
140 9) Added extraction devices "rsubcircuit" and "subcircuit" to
141 produce subcircuit records in SPICE output, with a method to
142 define parameters to be passed to the subcircuit.
143 10) Added resistor corner scaling (i.e., the resistance of a
144 material at a corner can be set as a fraction of the resistance
145 of the same material on a straight path).
146 11) Updated the interactive maze router, fixing many bugs, and adding
147 many enhancements, including a maze router GUI that can be used
148 to aid in interactively routing an entire netlist, or performing
149 a verification of a netlist against the layout.
150 12) "gridlimit" keyword in the cifoutput section to prevent magic
151 from generating geometry beyond a specific resolution.
152 13) Added the ability to specify all units in the extract section in
153 microns, and added a simplified method for specifying standard
154 parasitic capacitance extraction rules.
155 14) "gds merge true" option to generate polygons in the GDS output
156 instead of tiles. This creates *much* smaller output files at
157 the expense of processing time.
158 15) New "contact" function to automatically contact two layers at
159 an intersection.
160
161 See the online release notes for a more thorough list of features.
162
163 8. Version 7.4 Release Notes:
164 ---------------------------------
165
166 Version 7.4 is the new stable distribution version of magic.
167 Apart from changes to the release notes, it is identical to
168 the last revision (123) of development version 7.3. Revisions
169 of 7.4 will be made as necessary to fix bugs in the code. All
170 new additions and major changes will be done to the new
171 development distribution, version 7.5. Therefore there will
172 not be a "What's new in 7.4" section, as there is not supposed
173 to be anything new in version 7.4.
174
175 9. Version 7.3 Release Notes:
176 ---------------------------------
177
178 Magic release 7.3 incorporates a stacked contact model which is,
179 for the most part, backwardly compatible with Magic releases
180 7.2 and earlier. Information about this developmental release
181 can be found at:
182
183 http://opencircuitdesign.com/magic/magic7_3.html
184
185
186 What's new in 7.3:
187 ------------------
188 Provided by Tim Edwards (MultiGiG, Inc.):
189 1) Stacked contact model allowing arbitrary stacking of
190 contact types.
191 2) A separate "undo/redo" method for network selection, to
192 remove the memory overhead associated with selecting and
193 unselecting large networks. Also removes some time overhead
194 as well, especially when unselecting networks.
195 3) Much improved "plot pnm" function.
196 4) Improved transistor and resistor extraction.
197 5) LEF format reader; improved LEF/DEF input/output handling
198 6) New style and colormap file formats
199 7) Vendor GDS read/write capability
200 8) "wire segment" drawing function
201 9) Handling of path records in CIF and GDS input
202 10) Handling of cell scaling in GDS input
203 11) Pi-network device extraction for resistors
204 12) Option to write contacts as cell arrays in GDS output
205 13) New "widespacing" and "maxwidth" DRC algorithms.
206 14) "polygon" command
207 15) New cifoutput operator "bloat-all"
208 16) Backing-store for 24-bit and OpenGL graphics
209 17) New "pick" tool for interactive selection move and copy
210 18) New interactive "wire" tool
211 19) Crosshair
212 20) New cifoutput operator "slots"
213 21) New fcntl-based file locking mechanism
214 22) "angstroms" units supported in cifinput/cifoutput
215 23) Non-Manhattan device extraction support
216 24) New "feedback" mechanism
217 25) Proper support for > 32 planes (up to 64)
218 26) Fixed array interaction CIF/GDS generation
219 27) Added executable "magicdnull" for streamlined batch-mode use
220 28) New method for crash backups, including restore with "magic -r"
221 29) A number of other technology file additions and enhancements
222
223 10. Version 7.2 Release Notes:
224 ---------------------------------
225
226 Magic release 7.2 incorporates the capability to run magic from the Tcl
227 interpreter with graphics handled by Tk. Instructions for compiling
228 and installing this version are in README.Tcl. Information about
229 this release can be found at:
230
231 http://opencircuitdesign.com/magic/magic7_2.html
232
233 What's new in 7.2:
234 ------------------
235 Provided by Tim Edwards (MultiGiG, Inc., and JHU Applied Physics Lab):
236
237 1) Tcl interpreter extension option
238 2) Cygwin compile option
239 3) Memory resources cleaned up
240 4) GUI interface to Tcl version of Magic
241 5) Readline update to version 4.3
242 6) OpenGL fixes and refinements
243 7) Nonmanhattan geometry fixes and extensions
244 8) Threaded graphics in non-Tcl environments
245 9) Inductance extraction
246 10) CIF and GDS input/output support for deep submicron technologies
247 11) Different internal and lambda grids, including automatic or
248 induced ("scalegrid" command) grid subdivision and expansion.
249 "snap" and "grid" functions and extensions aid layout when
250 lambda and internal units differ.
251 12) Removed commands "list", "listall", "parent", and "child",
252 replacing them with the more general-purpose "cellname"
253 and "instance" commands.
254 13) Added command "tech", and re-loadable technologies.
255 14) Revamped the "dstyle" files and updated the dstyle version
256 15) Added "element" types for layout annotation.
257 16) Extended extract section of techfile to include "device"
258 keyword and devices "mosfet", "bjt", "capacitor", and "resistor".
259 New model resistor and mosfet use width/length instead of area/
260 perimeter.
261 17) Added 3D rendering window invoked by command "specialopen wind3d",
262 for the Tcl version compiled with OpenGL graphics.
263 18) Added "height" keyword to tech file for height/thickness values
264 19) Added "windowname" command for managing multiple wrapper windows
265 under Tcl.
266 20) Added extraction extension for annular (ring) MOSFETs.
267 21) Added "widespacing" DRC rule.
268 22) Added GNU autoconf compile
269 23) New command "property" for setting key:value pair properties
270 in cell definitions that can be interpreted by other routines
271 (such as LEF/DEF).
272 24) General-purpose subcircuit method using the "port" command to
273 declare a cell to be a subcircuit and to mark the position and
274 orientation of connections into the subcell. This replaces a
275 method previously built into version 7.2 using a "subcircuit"
276 layer; that method is now considered obsolete.
277 25) LEF and DEF format readers, LEF format writer.
278 26) Improved techfile format with asterisk-notation and DRC
279 "surround", "overhang", and "rect_only" statements.
280
281 11. Version 7.1 Release Notes:
282 ---------------------------------
283
284 Magic release 7.1 consolidates all known patches/features
285 to magic version 6.5.x, and contains additional features that have
286 been added since the consolidation. Information about this release
287 is available at the magic web site:
288
289 http://vlsi.cornell.edu/magic/
290
291
292 What's new in 7.1:
293 ------------------
294 Provided by Rajit Manohar (Cornell University) (formerly version 7.0):
295 1) Implementation of "scheme" (a subset of lisp), a powerful method
296 of generating complex functions.
297 2) Using CVS to facilitate source code development from multiple sites.
298 3) New commands using scheme: Too many to mention here; see the
299 tutorials in doc/tutscm* for explanations. Functions themselves
300 are defined in ${CAD_ROOT}/magic/scm/*.scm
301 4) Overhauled the readline interface. See doc/textfiles/readline.txt for
302 details.
303 5) Changed tons of stuff about the build environment:
304 - the include paths in all files is now canonical.
305 - redid the make process and rewrote all Makefiles.
306 - tons of other small things that hopefully make the build process
307 nicer.
308
309 12. Releases prior to version 7:
310 ---------------------------------
311
312 What's new in 6.5.2:
313 --------------------
314 Provided by R. Timothy Edwards (Johns Hopkins Applied Physics Laboratory):
315 1) Support for OpenGL
316 Look at doc/open_gl.txt
317 2) Minor update to :config for selection of multiple graphics
318 interfaces.
319 3) Updates to dstyle and cmap files
320 4) Always do a check to see if there is only one active layout
321 window: There's no need to annoy the user with complaints
322 of "Put the cursor in a layout window" when there is no
323 possibility of confusion about the matter.
324
325 Provided by Philippe Pouliquen (Johns Hopkins University):
326 5) "readline" command line editing capability
327 6) Macro extensions for X11 (see doc/macro_extension.txt)
328 7) Better handling of filenames on the UNIX command-line (multiple
329 filenames allowed, ".mag" extension not required).
330 8) New commands: "child", "parent", "down", "xload", "list", "listall",
331 "listtop", "shell", "imacro".
332 9) Command alterations: "box [+|-][dir]", "select visible", area of box
333 included in "box" command.
334 10) Updated .magic macro file (source in magic/proto.magic, install in
335 ${CAD_ROOT}/magic/sys/.magic) (see doc/default_macros.txt).
336
337 What's new in 6.5.1:
338 --------------------
339 1) Support for true-color displays (courtesy of Michael Godfrey)
340 Look into doc/hires-color.txt
341 2) Minor updates in ext2sim, ext2spice
342
343 What's new in 6.5:
344 -----------------
345 1) Bug fixes in the extractor propagation of attributes (SU)
346
347 2) New version of ext2sim ext2spice with support for hspice, spice2,
348 and spice3 (SU)
349
350 3) Integration of the port to SUN's Solaris OS (MIT)
351
352 4) Port to FreeBSD2.x. Thanks to John Wehle ([email protected])
353
354 5) Integration of part of the DEC/WRL code fragments into the drc
355 code. Since the code is not completely trustworthy the fragments
356 are ifdef'd so if need be the drc will behave exactly as the old one.
357 (you just need to change the #define DRC_EXTENSIONS in drc/drc.h
358 to do that). For a description of the extensions look into
359 doc/tutwrl1.ps (DEC/WRL)
360
361 6) Integration of some patches in to the CIF code that introduce:
362 (i) A new cif operation squares-grid which generates contacts
363 on grid.
364 (ii) A new cif layer command min-width is added so that generated
365 layers have the correct min drc width when magic expands
366 layers in the hierarchy (like it does with wells).
367
368
369 Magic-6.5 crashes if compiled with gcc in Solaris2.x/SunOS5.x (curiously enough
370 it does not have that problem if compiled with Sun's cc compiler). To get
371 around that you need to set the flag -DUSE_SYSTEM_MALLOC flag in misc/DFLAGS
372 after you run make :config. The error has to do with allignment of doubles
373 and an alternative way to get rid of it is to change extract/extractInt.h
374 so that CapValue is float instead of double. Nevertheless the first method
375 is recomended.
376
377 What's new in 6.4:
378 ------------------
379 This release, magic 6.4, contains the following modifications:
380
381 1) A number of bug fixes from the 6.3 notes.
382
383 2) A version numbering facility for tech files. Please add a new
384 section to each tech file after the "tech" section, following
385 this example:
386
387 version
388 version 2.0.3
389 description "MOSIS CMOS 0.13u Nano-nano technology."
390 end
391
392 Older versions of magic will complain about the new section, but
393 no harm will be done.
394
395 4) Various comments describing dates and versions, including the
396 above tech file information, are not written to the CIF file.
397
398 3) Support for patches and versioning: A new command called "version"
399 lists out the version number and patches that are installed.
400 A header file called patchlevel.h keeps track of a PATCHLEVEL
401 integer and a string in patchlevel.c keeps track of the names of
402 each installed patch. When posting patches to the net please be
403 sure your patch updates variables. See the files for details.
404
405 4) Ports to Alpha AXP OSF/1, SGI/IRIX (courtesy of Stefanos
406 Sidiropoulos) and Linux (courtesy of Harold Levy).
407
408 5) A change in the extractor algorithm to provide shielding for
409 perimeter capacitances. Also a change in ext2sim to maintain
410 information about the area and perimeter of diffusion and
411 the bulk connection of the fets (written by Stefanos
412 Sidiropoulos).