Small correction to defWrite to cancel a non-default rule when a

wire with default width is encountered.
This commit is contained in:
Tim Edwards 2022-11-18 21:00:23 -05:00
parent f066844761
commit fe89170f5a
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
8.3.341 8.3.342

View File

@ -274,7 +274,7 @@ defCountNets(rootDef, allSpecial)
{ {
TxError("Warning: Circuit has no .ext file; no nets written.\n"); TxError("Warning: Circuit has no .ext file; no nets written.\n");
TxError("Run extract on this circuit if you want nets in the output.\n"); TxError("Run extract on this circuit if you want nets in the output.\n");
EFDone(); EFDone(NULL);
total.has_nets = FALSE; total.has_nets = FALSE;
} }
@ -1074,6 +1074,7 @@ defNetGeometryFunc(tile, plane, defdata)
/* Check for non-default widths and slivers */ /* Check for non-default widths and slivers */
defdata->ruleset = NULL;
if (((h != routeWidth) && (w != routeWidth)) || if (((h != routeWidth) && (w != routeWidth)) ||
((h == routeWidth) && (w < routeWidth)) || ((h == routeWidth) && (w < routeWidth)) ||
((w == routeWidth) && (h < routeWidth))) ((w == routeWidth) && (h < routeWidth)))