From 6e94886b656cd3ab82fe38112625b7c99c9a858e Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Tue, 8 Jun 2021 16:52:57 -0400 Subject: [PATCH] Messed up basic pin comparison between black-box vs. non-black-box subcircuit situations in the last commit. This commit fixes it. --- VERSION | 2 +- base/netcmp.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 960ac53..3663b2b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.183 +1.5.184 diff --git a/base/netcmp.c b/base/netcmp.c index be933b8..717421c 100644 --- a/base/netcmp.c +++ b/base/netcmp.c @@ -7245,7 +7245,8 @@ int MatchPins(struct nlist *tc1, struct nlist *tc2, int dolist) /* so apply only to black-box (CELL_PLACEHOLDER) entries. */ /* (Semi-hack: Allow "!" global flag) */ - if ((tc1->flags & CELL_PLACEHOLDER) && (tc2->flags & CELL_PLACEHOLDER)) { + if (((tc1->flags & CELL_PLACEHOLDER) && (tc2->flags & CELL_PLACEHOLDER)) || + (NodeClasses == NULL)) { ob1 = tc1->cell; bangptr1 = strrchr(ob1->name, '!'); if (bangptr1 && (*(bangptr1 + 1) == '\0'))