Commit Graph

26 Commits

Author SHA1 Message Date
Tim Edwards 77e5d70626 Corrected Tcl list output (and, by consequence, the JSON file
output) to include pin information (missing "-list" argument to
the "equate pins" command).
2017-12-07 08:45:37 -05:00
Tim Edwards cad7e0e293 First attempt to properly use the Tcl/Tk stubs library feature. 2016-09-20 21:50:48 -04:00
Tim Edwards 317eb8ff0f Removed files that should not be in the git repository 2016-05-16 13:10:58 -04:00
Tim Edwards 6bf29235bc Added additional diagnostic statements. 2016-05-16 13:09:19 -04:00
Tim Edwards 7edeb2e37d Fairly extensive modifications that allow for handling of, and
comparisons between, duplicate cells (cells with the same netlist
that may have more than one name in a circuit, or which for some
reason appear with the same name more than once in a netlist).
Added more checks to the list prematching, which prevents various
troubles with cells having a mismatched hierarchy.  Added a
command option to "flatten class" to flatten instances only within
a specific cell.  Corrected one error in the pin matching routine.
Added a check in the pin matching routine to look for pins that
have been found to be no-connects after cleaning up the pin lists
of the children of that cell.
2016-05-16 10:50:12 -04:00
Tim Edwards 06d772edd0 Fixed a potential crash condition in uniquepins(). 2016-05-05 11:27:23 -04:00
Tim Edwards 086495bc28 Corrected a line in FlattenUnmatched that would cause an
infinite loop if attempting to flatten an empty cell.
2016-05-05 10:12:23 -04:00
Tim Edwards 846ab5369a Corrected an error causing a segfault on property mismatches where
one cell is missing properties (failed to check for a NULL value
before checking values internal to the structure that was NULL).
2016-03-20 15:56:39 -04:00
Tim Edwards 8667bf0799 Corrected an additional error that let PropertyMatch() be called
with arguments swapped with respect to Circuit1, Circuit2 definitions,
which are fixed in PropertyMatch().
2016-03-20 12:34:24 -04:00
Tim Edwards 0caf47006c Additional measure to ensure that name altered to avoid cross-
netlist naming conflicts does not also cause a naming conflict.
2016-03-20 11:55:51 -04:00
Tim Edwards b245b79c20 Corrected handling of name matching so that if the setup file
equates class "a" in circuit 1 with class "b" in circuit2, and
if circuit 1 has a class called "b" and/or circuit 2 has a class
called "a", then both classes are given a new hash to avoid
conflicts with the (presumably) unrelated cells of the same name
in the other netlist.
2016-03-20 11:41:41 -04:00
Tim Edwards 6e144bf5fe Corrected the device pre-matching routine to not segfault when
a cell has zero instances in one of the surveyed cells.
2016-03-16 12:05:51 -04:00
Tim Edwards 5e3cf08bfb Corrected calls from the non-Tcl/Tk version to routines which have
been modified in the Tcl/Tk version to take an additional argument
for the file number.  In the non-Tcl/Tk-compatibility mode, netgen
should operate in a backwards-compatibility mode with filenum = -1.
2015-12-07 14:59:54 -05:00
Tim Edwards c2b34e433e Corrected an error in the name-matching of cells. This
comparison would look for matching names from the "equate
classes" command.  However, it failed to do the reverse
check, which is to make sure that if no forced match was
found for a cell, but there was a name match, that the
name-matched cell found is not being forcibly matched to
something else.
2015-09-29 22:39:16 -04:00
Tim Edwards 99dee832e4 Corrected an error in which renamed cells do not recalculate
the classhash value based on the new name, so they will be
treated as equal to the old cell despite the different name.
2015-09-29 22:10:31 -04:00
Tim Edwards d499854aed Corrected syntax information for the "equate" command, and added
output text for the "flatten" command when called as a netgen
command (as opposed to being called internally to LVS).
2015-09-29 21:49:55 -04:00
Tim Edwards 10664689f5 Modified the name-checking when creating compare queues, such
that matches explicitly called out in the setup file using
"equate classes" will take precedence over same-name matching,
instead of the other way around.
2015-09-24 08:25:48 -04:00
Tim Edwards b743fa2ccc Corrected an apparently non-functional call to feof(); random
end-of-file will now properly terminate instead of re-reading
the same line.
2015-08-31 10:04:20 -04:00
Tim Edwards 4b7c06101c Modified the detection of subcircuits such that it does not flag
false errors about missing .ENDS statements on the top-level
cell at EOF.
2015-08-31 09:33:31 -04:00
Tim Edwards bfbeccb84b Added handling for missing ".ends" statement at EOF on a SPICE
netlist.
2015-08-21 08:35:51 -04:00
Tim Edwards 52b40f6a49 Changed output behavior to print a "not checked" message when a
cell has no elements and therefore cannot be checked.  This
message is only printed if "verify only" is used, preventing
the message from being output several times.  Switched from
"stderr" to "stdout", so that it appears after "Result:" in the
output, instead of before.
2015-08-20 22:30:44 -04:00
Tim Edwards edc9f227b1 Corrected an infinite loop caused by lack of a return character
after ".ends" (seems to be unique to that situation).  Also,
corrected a segfault caused by a cell definition containing
only components that are uninstantiated subcircuits (recently
added code makes references to CurrentCell without checking if
it exists).
2015-08-20 22:11:58 -04:00
Tim Edwards a90e848f75 Added capability to handle single and double quotes in expressions
for parameters.
2015-08-10 12:08:05 -04:00
Tim Edwards 91f5338d3a Did the same thing for the reverse case. 2015-08-09 21:46:45 -04:00
Tim Edwards 462fec2897 Added simple code to avoid printing confusing entry when one
cell has no pins and the other does;  the output was adding an
entry attempting to match the "(no pins)" proxy pin.
2015-08-09 21:38:26 -04:00
Tim Edwards d5e9f81cb0 Initial commit at Mon May 18 09:27:46 EDT 2015 by tim on stravinsky 2015-05-18 09:27:46 -04:00