Corrected a subtle error in "def read" in which if a net declares a

non-default rule, but then does not contain any routed nets, the
non-default rule gets accidentally applied to the next routed net,
ignoring the end-of-statement in between.
This commit is contained in:
R. Timothy Edwards 2026-07-23 15:57:28 -04:00
parent a22b7508ac
commit 86fbd2b50f
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
8.3.676
8.3.677

View File

@ -1115,6 +1115,9 @@ DefReadNets(
if (dolabels) netname = StrDup((char **)NULL, token);
needanno = annotate;
/* Any nondefault rule resets at the start of a new net. */
ruleset = (LefRules *)NULL;
/* Update the record of the number of nets processed */
/* and spit out a message for every 5% finished. */