Commit Graph

22 Commits

Author SHA1 Message Date
Tim Edwards 61859d152d Corrected a missing argument from the call to DBFlagMismatches()
that causes the recovery option (magic -r) to fail with a segfault
(which is definitely not helpful for recovering lost work).
2020-01-18 15:55:05 -05:00
Tim Edwards 82e33248f2 Corrected dereferencing of cell dependencies, which was being applied
only at the time of running the command "load".  But cells are generally
loaded only on an as-needed basis, so the dereferencing option must be
saved as a flag in the cell and honored whenever its subcells are expanded
or otherwise read at a later time.
2020-01-02 10:13:04 -05:00
Tim Edwards be38dac9fb Corrected .mag file read-in so that it will not complain about
a layout being redefined if one records the full path name and
the other records the home directory tilde expression.
2019-12-14 18:30:48 -05:00
Tim Edwards 0eb3b1fe1c Corrected an error in ext2spice related to the recent modification to get
rid of redundant port entries in subcircuits.  There is still an outstanding
issue as to whether nodes and connections need to be recursively iterated
to the hierarchy bottom.  The current fix corrected the test case.  Also,
added a "-dereference" option to the "load" command to revert to the
original behavior of using only search paths from "addpath" when searching
for files to load.
2019-11-14 15:18:26 -05:00
Tim Edwards 8b0a9275a8 Fixed the value of property FIXED_BBOX when saving a file; it needs
to be scaled down by "reducer" like all other values in the cell.
Suggests a need to have property types other than string, so that
a property type "rect" or "box" can be declared that is saved as a
Rect and always scales without special hack handling of the specific
string FIXED_BBOX. . .
2019-10-15 20:40:59 -04:00
Tim Edwards 9635f10c5a Removed a badly implemented double-loop from the timestamp mismatch
code.
2019-08-02 14:50:32 -04:00
Tim Edwards 770a6f4a17 Updated the handling of fixed bounding boxes for abstract views
(once corrected in an experimental branch but never merged).  This
avoids changing the actual bounding box of the cell to match the
LEF bounding box, but defines a property instead and uses that
property for certain functions such as displaying the bounding box
outline or selecting the cell.  This avoids certain related errors
such as the failure to extract connections to areas outside of the
fixed bounding box.
2019-05-06 16:30:29 -04:00
Tim Edwards ecf27c9a17 Corrected missing include to tclmagic.h from txCommands.c, where
freeMagic() is used (and is a macro to Tcl_Free()).
2018-06-17 15:12:00 -04:00
Tim Edwards 5e2874a0fa Fixed a crash condition on saving a backup file if a cellDef's
cd_file entry is NULL, relying on cd_name instead.
2018-05-30 22:51:13 -04:00
Tim Edwards c522acab33 Corrected a minor issue with the database read incorrectly generating
an error message when reading uses from a .mag file.  Also modified
the GDS write routine to provide an error message when an abstract
view points to a GDS file but the GDS file cannot be found.
2018-04-24 09:29:05 -04:00
Tim Edwards 5da432b821 Added ever so slightly more information to the output when handling
issues with subcell loading.
2018-04-18 14:09:26 -04:00
Tim Edwards 95b572715c Some minor changes to file instance handling, mostly to make output
less confusing.  Removed leading spaces in instance path which
could cause a failure to recognize that a path was not specified
for a use in an input file.
2018-04-17 10:08:00 -04:00
Tim Edwards e991e2cfc7 Added a fallback method to file reading so as to not create havoc
from the rigorous method of versioning in case files are relocated
and the use paths are no longer valid.  Cells are then searched
for in the search paths in the traditional manner, albeit with a
stern warning.  This should avoid most backwards-compatbility
issues.
2018-04-16 21:43:35 -04:00
Tim Edwards 79cb20cf9a Additional corrections to ensure that every cell that is read or
written interprets the path of every use as either a full
absolute path or a path relative to the parent cell, given the
different ways that a parent cell's path could be specified
(absolute or relative).
2018-04-06 15:09:43 -04:00
Tim Edwards 3bf2441818 Last update contained an error in writing database files in which
the path component of the use def was interpreted as being relative
to the parent when reading the cell def but not when writing,
resulting in paths being interpreted incorrectly.
2018-04-06 12:50:37 -04:00
Tim Edwards 42ec70d4dc Re-implemented plow setup for the first time since about 2006,
enabling the "plow" command.  At this time, however, not all
rules are being implemented correctly given the numerous changes
to the DRC handling since the last time "plow" was working.  Fixes
are ongoing.
2018-04-01 14:40:10 -04:00
Tim Edwards 7edd4baeab Added additional handling for versioning to include relative paths
and home paths.
2018-03-23 13:06:58 -04:00
Tim Edwards e60edf3c58 Finished implementing cell versioning, which was implemented for
file writes by adding the path for each cell use, but being ignored
for file reads.  The cell path saved in the .mag file is now honored
on read-back.  If the cell needs updating, then the cell version
can be manipulated using "cellname filepath".  No UI methods are
currently implemented for managing cell versions.
2018-03-23 10:52:57 -04:00
Tim Edwards aebabc0447 Corrected an error in writing out .mag files with property values
that are longer than the formerly-fixed array size 256.  This
conflicted with the recent addition of holding path data in
properties, where the path coordinates can be significantly
longer than the fixed array size.  Same change as made to magic
version 8.1.
2018-01-08 21:45:19 -05:00
Tim Edwards f4ae5d8789 Corrected extended bounding box for LEF-derived views setting
FIXED_BBOX;  same change made to magic version 8.1.
2017-12-13 11:16:02 -05:00
Tim Edwards 088fc759c4 Set of changes updating version 8.2 to the level of 8.1, since 8.2
development had been halted since it was first created back in April.
Version 8.2 is now the official development version, with the first
development push to create a Cairo graphics interface.
2017-08-01 22:14:42 -04:00
Tim Edwards 231a299b16 Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00