diff --git a/VERSION b/VERSION index 66dd59a..af0cfc2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.190 +1.5.191 diff --git a/base/netcmp.c b/base/netcmp.c index 5c0b75f..6bdd803 100644 --- a/base/netcmp.c +++ b/base/netcmp.c @@ -7225,8 +7225,13 @@ int MatchPins(struct nlist *tc1, struct nlist *tc2, int dolist) snprintf(ostr, left_col_end, "%s", obn->name); if ((*matchfunc)(obn->name, obp->name)) snprintf(ostr + left_col_end + 1, left_col_end, "%s", obp->name); - else + else { snprintf(ostr + left_col_end + 1, left_col_end, "%s **Mismatch**", obp->name); + /* Pins with different names are on different nets, + * so this should trigger an error return code. + */ + result = 0; + } for (m = 0; m < right_col_end + 1; m++) if (*(ostr + m) == '\0') *(ostr + m) = ' '; Fprintf(stdout, ostr);