Commit Graph

1155 Commits

Author SHA1 Message Date
Tim Edwards 4154e1f0b2 Corrected a bug in CIFMakeManhattanPath that can cause a segfault
or a hang in rare geometry situations.  Same fix as was made to
magic version 8.1.
2017-11-25 16:09:16 -05:00
Tim Edwards de9f61552f Added back a missing multiplication by the number of merged devices
for "ext2sim" when using "ext2sim merge" (either aggressive or
conservative merge).  Same change as made to magic-8.1.
2017-10-20 16:48:55 -04:00
Tim Edwards 69fad7f9dd Merge branch 'work' into tomerge 2017-10-20 16:08:28 -04:00
Tim Edwards 314485b7b1 Update at Fri Oct 20 16:08:28 EDT 2017 by tim 2017-10-20 16:08:28 -04:00
Tim Edwards feaabe2a17 Possible fix to problem with substrate node being unitialized
when called after "merge conservative" is selected in ext2spice.
2017-10-20 16:07:52 -04:00
Tim Edwards c56b07ed4c Merge branch 'work' into tomerge 2017-10-16 19:56:16 -04:00
Tim Edwards 4b701ff9ec Update at Mon Oct 16 19:56:15 EDT 2017 by tim 2017-10-16 19:56:15 -04:00
Tim Edwards 63d5a9c489 Updates and fixes to the configuration file definitions for Mac OSX
using MacPorts, with considerable help from Ryan Schmidt.
2017-10-16 19:56:04 -04:00
Tim Edwards 7e9d4bfdfa Merge branch 'work' into tomerge 2017-10-14 18:43:08 -04:00
Tim Edwards a7a43e17a9 Update at Sat Oct 14 18:43:08 EDT 2017 by tim 2017-10-14 18:43:08 -04:00
Tim Edwards 741df0fe01 Removed the "macosx" definition from the configuration file, which
got copied over from another project but apprently causes serious
issues with the OSX compilation.
2017-10-14 18:42:24 -04:00
Tim Edwards babd154251 Merge branch 'work' into tomerge 2017-10-13 10:28:52 -04:00
Tim Edwards 1e54e5b3da Update at Fri Oct 13 10:28:51 EDT 2017 by tim 2017-10-13 10:28:51 -04:00
Tim Edwards cfccdb84c1 Rewrote the configuration scripts, makefiles, and some initialization
routines to use the Tcl and Tk stubs libraries.
2017-10-13 10:28:07 -04:00
Tim Edwards 0e3825ef75 Merge branch 'work' into tomerge 2017-10-12 10:42:45 -04:00
Tim Edwards 4bc311af4e Update at Thu Oct 12 10:42:43 EDT 2017 by tim 2017-10-12 10:42:43 -04:00
Tim Edwards 9c22e2e059 Corrected duplicate global variable grVisualInfo between grTOGL1.c
and grTCairo1.c.
2017-10-12 10:42:13 -04:00
Tim Edwards 711f414224 Merge branch 'work' into tomerge 2017-10-09 11:52:45 -04:00
Tim Edwards 863e9a775e Update at Mon Oct 9 11:52:44 EDT 2017 by tim 2017-10-09 11:52:44 -04:00
Tim Edwards efb1f00879 Preliminary method to record polygons and wire paths with property
records when they are read in into their own subcells using the
cif/gds read options.
2017-10-09 11:51:51 -04:00
Tim Edwards 5ba46da6b9 Corrected custom wire extension handling in GDS file reads. 2017-10-06 22:56:34 -04:00
Tim Edwards 6e066ededa Modified the gds command options to separate "gds path subcell"
from "gds polygon subcell".  Previously both polygons and paths
were put into subcells named polygonXXXXX (substitute numbers
for XXXXX).  Now polygons go into cells named polygonXXXXX and
paths go into cells named pathXXXXX.  This makes it easier to
keep track of the original path.  NOTE:  The path centerline
should be kept as a cell property in this case, and the path
options like endcap style can also be held as properties.  The
polygon boundary should be treated similarly.
2017-10-06 22:32:52 -04:00
Tim Edwards e099dde8d2 Fixed calma custom paths (pathtype 4) so that it doesn't generate
an error message (otherwise it was already being handled correctly).
2017-10-06 16:42:41 -04:00
Tim Edwards 8258058aab Merge branch 'work' into tomerge 2017-10-06 12:47:25 -04:00
Tim Edwards 8f17054036 Update at Fri Oct 6 12:47:25 EDT 2017 by tim 2017-10-06 12:47:25 -04:00
Tim Edwards f116c1e448 Experimental change in the way hierarchical DRC is handled. To
avoid the problem where subcells violate DRC themselves but do
not violate DRC in the context of the parent (i.e., the parent
adds metal to avoid minimum area error), DRC errors in subcells
are neither counted nor displayed, but they remain present in
the subcell database.  The DRC check enumerates all subcell
errors as mandatory check areas in DRCFindInteractions(), so
that those areas are always counted with the interaction areas.
Previously, if a subcell violated a DRC rule by itself, that
error would be counted and displayed in the parent even if the
parent had paint causing the error to no longer exist.
2017-10-06 12:38:48 -04:00
Tim Edwards b26c7de6f6 Corrected "lef write" command to act as advertised and take a
filename as the next argument.
2017-10-05 22:18:10 -04:00
Tim Edwards 909c3a8c6a Corrected an error in lefWrite where a variable was not set,
causing occasional intermittent crashes on "lef write".
2017-10-05 22:08:24 -04:00
Tim Edwards 97488ee0f8 Merge branch 'work' into tomerge 2017-10-05 16:55:47 -04:00
Tim Edwards de544abe6d Update at Thu Oct 5 16:55:45 EDT 2017 by tim 2017-10-05 16:55:45 -04:00
Tim Edwards a35134ef60 Corrected an error in the "lef write" command that prevents
obstruction layers from being generated in the output LEF file.
2017-10-05 16:55:01 -04:00
Tim Edwards b5dd3304ee Additional small correction. 2017-10-04 21:57:54 -04:00
Tim Edwards 7ed43ba964 Removed the call to glFinish() because it appears mostly to
cause synchronization delays.
2017-10-04 15:40:11 -04:00
Tim Edwards 00556d2999 Removed two temporary backup files. 2017-10-04 14:58:07 -04:00
Tim Edwards e42508b5eb Merge branch 'work' into tomerge 2017-10-04 14:57:46 -04:00
Tim Edwards aeba4102f3 Update at Wed Oct 4 14:57:44 EDT 2017 by tim 2017-10-04 14:57:44 -04:00
Tim Edwards 93bcfeb093 Finally worked out how to correctly use the OpenGL general-purpose
frame buffers and render buffers, and use fast frame buffer bit
block transfers to do copies to and from backing store.  Also found
a long-standing problem where multiple windows fail to refresh
properly in OpenGL and Cairo interfaces due to a lack of calling
GrLock() and GrUnlock() around the call to fetch backing store
after an expose event.  The use of the general purpose frame
buffer allows magic to avoid calling any indirect rendering methods
and should now (finally) allow magic to run in OpenGL mode over a
VNC.  Use of direct rendering methods only also means that magic
does not need to be compiled with the ad hoc switch to have Cairo
handle drawing into pixmaps for the icons (this remains to be
tested).
2017-10-04 14:53:01 -04:00
Tim Edwards bfb89284cf Merge branch 'work' into tomerge 2017-09-27 17:44:08 -04:00
Tim Edwards 49c7d264eb Update at Wed Sep 27 17:44:08 EDT 2017 by tim 2017-09-27 17:44:08 -04:00
Tim Edwards 6455c07d0f Corrected pattern drawing on polygons. 2017-09-27 17:43:52 -04:00
Tim Edwards 892584c9c9 Merge branch 'work' into tomerge 2017-09-26 14:09:49 -04:00
Tim Edwards 5223d8645f Update at Tue Sep 26 14:09:49 EDT 2017 by tim 2017-09-26 14:09:49 -04:00
Tim Edwards 8ca2db78a2 Corrected failure to update root box and crosshair position when
rescaling the internal units.  The former in particular can
cause problems when moving the root box and importing cells from
a script (same change as made to magic-8.1).
2017-09-26 14:09:35 -04:00
Tim Edwards 18ebf84ad8 One more attempt at correcting off-screen rendering. Noting that
Cairo works perfectly for the off-screen rendering and that OpenGL
works perfectly for the on-screen rendering, make a compile-time
option to use both in their respective areas of perfection.
2017-09-17 12:31:31 -04:00
Tim Edwards c3132298ba Changed CONST86 back to CONST84 to maintain compatibility with
Tcl/Tk 8.5, although this should probably be in an ifdef or
something.
2017-09-17 11:31:07 -04:00
Tim Edwards 1610d28c72 Merge branch 'work' into tomerge 2017-09-17 11:24:20 -04:00
Tim Edwards be92e6635f Update at Sun Sep 17 11:24:19 EDT 2017 by tim 2017-09-17 11:24:19 -04:00
Tim Edwards 90826eec70 Attempt to work around problems with the OpenGL off-screen rendering
by using a Pbuffer instead of a GLXPixmap, which is too often not
supported for direct rendering.  The only way I found to make this
work was to do a (very) slow pixel-by-pixel copy from the Pbuffer
into the pixmap.  However, this only needs to be done once for each
toolbar icon, and the icons are small, so it is not really a problem.
2017-09-17 11:20:18 -04:00
Tim Edwards f3149d3f2b Merge branch 'work' into tomerge 2017-09-16 15:40:48 -04:00
Tim Edwards e137a7e8d0 Update at Sat Sep 16 15:40:48 EDT 2017 by tim 2017-09-16 15:40:48 -04:00