Commit Graph

623 Commits

Author SHA1 Message Date
Tim Edwards 7d65d6d4c2 "ocd_git_pure automatic update to repo" 2019-12-15 03:00:06 -05:00
Tim Edwards 81d7801223 Merge branch 'master' into magic-8.2 2019-12-15 03:00:06 -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 2a56630394 "ocd_git_pure automatic update to repo" 2019-12-09 03:00:06 -05:00
Tim Edwards 76dc836dca Merge branch 'master' into magic-8.2 2019-12-09 03:00:06 -05:00
Tim Edwards fd737dbf80 Overhauled the extresist code (again), this time to (1) correct for
a long-standing error (introduced with the "extresist geometry"
option) that can cause nets not to be extracted (due to the first
record not having extraction data, which was itself a long-standing
error in the code but which was not fixed correctly);  (2) handle
"device mosfet" type transistors (previously only handled the old
"fet" type extraction devices);  and (3) correct for the res.ext
file having a different scalefactor relative to the .ext file.  The
latter item was solved by forcing all input to scale like
ExtCurStyle->exts_unitsPerLambda, locally correcting all input as
needed.  Note that extresist still needs to handle other extraction
devices (e.g., resistors and capacitors) but those will require
additional handling in the routines which analyze the current path
to determine how to break up wires into paths.
2019-12-08 17:37:48 -05:00
Tim Edwards b0aa35133b "ocd_git_pure automatic update to repo" 2019-12-03 03:00:06 -05:00
Tim Edwards 1c4282b65a Merge branch 'master' into magic-8.2 2019-12-03 03:00:06 -05:00
Tim Edwards 31612b593f Added new CIF generation op "grow-min" that ensures a minimum width
for a layer.
2019-12-02 10:18:37 -05:00
Tim Edwards 584a677e9b "ocd_git_pure automatic update to repo" 2019-11-28 03:00:05 -05:00
Tim Edwards 48c033b1bf Merge branch 'master' into magic-8.2 2019-11-28 03:00:05 -05:00
Tim Edwards cfaccd973f Expanded the antenna rule violation setup and calculations to
include (1) specification of sidewall or surface to use for
each type individually, rather than a single method for all
types, and (2) specification of a linear model R = Ax + B for
the ratio limit when diodes are attached to the wire, where x
is the diode surface area (unitless, as this is a ratio).
2019-11-27 10:38:47 -05:00
Tim Edwards 7941411707 "ocd_git_pure automatic update to repo" 2019-11-27 03:00:06 -05:00
Tim Edwards acffebf380 Merge branch 'master' into magic-8.2 2019-11-27 03:00:06 -05:00
Tim Edwards a374230d88 Modified the behavior of the LEF read routine when used to annotate
an existing cell.  If the existing cell has labels but the labels
are defined as point labels (no rectangle defined using specific
layer-purpose pairs), then the LEF macro's port geometry will be
used for the labels.  Because the GDS file can define label sizes
and fonts, which the LEF file cannot, but because the LEF file may
define multiple rectangles per port, the original point label is
given the first port rectangle from the LEF file, while the
remainder of the labels in the LEF file generate new non-rendered
labels in the cell.
2019-11-26 10:57:42 -05:00
Tim Edwards 4daa652aff "ocd_git_pure automatic update to repo" 2019-11-26 03:00:07 -05:00
Tim Edwards 22a7922083 Merge branch 'master' into magic-8.2 2019-11-26 03:00:06 -05:00
Tim Edwards 46eefe8c33 Small correction on the last commit to avoid an integer overflow
error on large areas (need type dlong to encode areas in internal
units).
2019-11-25 16:37:03 -05:00
Tim Edwards 1fe128a405 Implemented new CIF operator "close", in the syntax "close <area>",
which takes the existing generated CIF plane, finds all enclosed
areas that have an area less than <area>, and fills them in.  This
satisfies a minimum hole area rule in a way that is not possible
with any of the existing CIF operators.
2019-11-25 15:14:41 -05:00
Tim Edwards b90166985d Corrected an error in the dual CIF style (output & drc) method where
the output style is not set back to what it was before if there are
no cif rules in the default DRC style.
2019-11-25 11:07:59 -05:00
Tim Edwards 6117f347d4 "ocd_git_pure automatic update to repo" 2019-11-24 03:00:11 -05:00
Tim Edwards 53c4cb5b1b Merge branch 'master' into magic-8.2 2019-11-24 03:00:11 -05:00
Tim Edwards 7373d55c55 Corrected a problem from the last commit that causes error messages
in the toolkit Tk window when any parameter is modified, due do the
use of a variable before its being defined in the dialog update.
2019-11-22 11:37:04 -05:00
Tim Edwards 2019a8a665 "ocd_git_pure automatic update to repo" 2019-11-22 03:00:07 -05:00
Tim Edwards 9939a8b874 Merge branch 'master' into magic-8.2 2019-11-22 03:00:07 -05:00
Tim Edwards 27ed2bf975 Modified the toolkit to take a selectlist with the special variable
name "gencell" and use that to create a selection that can change
between (compatible or somewhat compatible) device types.
2019-11-21 15:48:24 -05:00
Tim Edwards 7a228bebc6 "ocd_git_pure automatic update to repo" 2019-11-21 03:00:05 -05:00
Tim Edwards 6fe5cee4be Merge branch 'master' into magic-8.2 2019-11-21 03:00:05 -05:00
Tim Edwards be8ba09373 Created an additional argument "start" to the "slots" operator,
which adds an offset value of "start" to both X and Y from the
lower left corner of the fill area.  This allows the use of the
"offset" (from the previous git commit) to be declared on different
layers without creating an exact overlap, as is often required by
foundries for fill patterns.
2019-11-20 13:36:03 -05:00
Tim Edwards adb4d2613d Added indexed selection to the PDK toolkit script (returns an index
from a selection, which can then be used to index into other lists.
This lets one selection be made on a list of arbitrary names, and
then additional parameters can be linked together with the same
index).  Also, implemented (finally!) the "offset" parameters of
the "slots" function (as advertised in the documentation).
2019-11-20 13:01:14 -05:00
Tim Edwards 4f91f962a4 "ocd_git_pure automatic update to repo" 2019-11-20 03:00:05 -05:00
Tim Edwards 1c499c2593 Merge branch 'master' into magic-8.2 2019-11-20 03:00:05 -05:00
Tim Edwards 3aa09725cb Changed extraction to avoid generating an error message for devices
like resistors where a tile other than space may border the resistor
device on its non-terminal sides (which is handled correctly, and
should not be considered an error).
2019-11-19 11:39:59 -05:00
Tim Edwards 90a2cc4fdc "ocd_git_pure automatic update to repo" 2019-11-18 03:00:06 -05:00
Tim Edwards 85d9659741 Merge branch 'master' into magic-8.2 2019-11-18 03:00:06 -05:00
Tim Edwards d3eb03d19a Additional correction to extraction, still part of the effort to
remove redundant ports.  A comment that I left in the code at the
last commit asked if it was necessary to call efAddNodes and
efAddConns recursively.  An example came up in which the answer
is apparently "yes".  These routines have been replaced by
efFlatNodes(), which appears to solve the problem.  There is now
a question of whether efFlatNodesDeviceless() does anything, and
should its main behavior (to flag deviceless subcircuits) be
folded into efFlatNodes.
2019-11-17 19:08:47 -05:00
Tim Edwards a699b03a7e "ocd_git_pure automatic update to repo" 2019-11-16 03:00:05 -05:00
Tim Edwards c77dd1fb49 Merge branch 'master' into magic-8.2 2019-11-16 03:00:05 -05:00
Tim Edwards e1783a42a9 Added a "DRC manager" window option. This allows DRC errors to be
categorized by error type and scrolled through conveniently.  However,
it needs work dealing with finding the actual error bounds.  The
"DRC count" counts tiles, which is tile-plane-geometry-specific, and
"DRC listall why" fractures errors both over tiles and over the square
areas that the interactive DRC splits the layout into, for performance.
The DRC error plane needs to be changed to hold different types for
each error class, so that errors can be scanned by boundary instead of
by tile (work to be done).
2019-11-15 10:26:04 -05:00
Tim Edwards 1052fa3389 "ocd_git_pure automatic update to repo" 2019-11-15 03:00:07 -05:00
Tim Edwards 3bd8c1697d Merge branch 'master' into magic-8.2 2019-11-15 03:00:06 -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 4f86d29848 "ocd_git_pure automatic update to repo" 2019-11-14 03:00:05 -05:00
Tim Edwards c17a546a75 Merge branch 'master' into magic-8.2 2019-11-14 03:00:05 -05:00
Tim Edwards 5007f3f602 Modified "lef write" so that if a cell has a bounding box declared
by FIXED_BBOX derived from GDS and the new "boundary" cif input
rule, then the bbox property values take precedence over the
extent-of-geometry bounding box.
2019-11-13 15:10:01 -05:00
Tim Edwards 8e22b1504e Corrected an error introduced with the extension of extraction methods
to multiple entries per device;  the resistor length and width calculating
routine lost a break statement and would go into an infinite loop for
resistors with bends in them.
2019-11-13 14:29:19 -05:00
Tim Edwards 3a6f868efc Corrected an error in ext2spice caused by recent changes, that can
generate an extra node in the extract output that comes out as a
"(none)" node in the SPICE netlist from ext2spice.
2019-11-13 13:05:03 -05:00
Tim Edwards 5164a8dfca "ocd_git_pure automatic update to repo" 2019-11-13 03:00:07 -05:00
Tim Edwards 9f15e9bc7a Merge branch 'master' into magic-8.2 2019-11-13 03:00:07 -05:00
Tim Edwards e3624d3e5f Added code to avoid a problem with "lef write" when a sticky label
is placed over multiple types.  This causes SelectChunk() to fail
and the pin will have no geometry output in the LEF file.  To avoid
this, the area of the label is always painted into the select cell
so that if SelectChunk() fails, the label area still exists with
the label tile type.
2019-11-12 21:46:52 -05:00