Messed up basic pin comparison between black-box vs. non-black-box

subcircuit situations in the last commit.  This commit fixes it.
This commit is contained in:
Tim Edwards 2021-06-08 16:52:57 -04:00
parent 0556abf3c1
commit 6e94886b65
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
1.5.183
1.5.184

View File

@ -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'))