Added a missing block of code from Mitch Bailey's version that

fails to handle a topology match with a pin mismatch situation.
This commit is contained in:
Tim Edwards 2022-09-16 13:55:23 -04:00
parent 4fa4d046c8
commit cc5f6d929f
2 changed files with 9 additions and 1 deletions

View File

@ -1 +1 @@
1.5.230 1.5.231

View File

@ -2650,6 +2650,14 @@ _netcmp_verify(ClientData clientData,
else else
Fprintf(stdout, "Netlists do not match.\n"); Fprintf(stdout, "Netlists do not match.\n");
} }
else if (automorphisms == -2) {
if (index == EQUIV_IDX)
Tcl_SetObjResult(interp, Tcl_NewBooleanObj(1));
else if (index == UNIQUE_IDX)
Tcl_SetObjResult(interp, Tcl_NewIntObj(-2));
else if (index > 0)
Fprintf(stdout, "Circuits match uniquely with port errors.\n");
}
else { else {
if (automorphisms) { if (automorphisms) {
if (index == EQUIV_IDX) if (index == EQUIV_IDX)