From 0614461c84c48b9b9c1ae43f794f7a6822157e1a Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Tue, 8 Jun 2021 17:25:17 -0400 Subject: [PATCH] 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). --- base/netcmp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/base/netcmp.c b/base/netcmp.c index 717421c..ab672ed 100644 --- a/base/netcmp.c +++ b/base/netcmp.c @@ -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 */