Modified MatchPins so that pin mismatches on nets that are not

connected to anything are once again ignored (the prior commit
to prevent netgen from not reporting swapped pins as an error
overcorrected).
This commit is contained in:
Tim Edwards 2021-06-08 17:25:17 -04:00
parent 6e94886b65
commit 0614461c84
1 changed files with 4 additions and 1 deletions

View File

@ -7350,7 +7350,6 @@ int MatchPins(struct nlist *tc1, struct nlist *tc2, int dolist)
Tcl_NewStringObj(ob2->name, -1));
}
#endif
result = 0;
/* Before making a proxy pin, check to see if */
/* flattening instances has left a port with a */
@ -7369,6 +7368,10 @@ int MatchPins(struct nlist *tc1, struct nlist *tc2, int dolist)
needclean2 = 1;
continue;
}
else if (notempty == 1) {
/* Flag this as an error */
result = 0;
}
ob2->model.port = numnodes++; // Assign a port order
/* Add a proxy pin to tc1 */