From 86fbd2b50f81fbe301adce1cfac3d2a9e3551cbf Mon Sep 17 00:00:00 2001 From: "R. Timothy Edwards" Date: Thu, 23 Jul 2026 15:57:28 -0400 Subject: [PATCH] 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. --- VERSION | 2 +- lef/defRead.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 005d66ed..ee6ab02c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.676 +8.3.677 diff --git a/lef/defRead.c b/lef/defRead.c index cac86fde..d289a4c5 100644 --- a/lef/defRead.c +++ b/lef/defRead.c @@ -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. */