From d37810bf60f4ffa997b0ff7778d168a91b092eda Mon Sep 17 00:00:00 2001 From: James Cherry Date: Wed, 7 Aug 2024 12:27:32 -0700 Subject: [PATCH] exception -through net/exception -through pin seg fault Signed-off-by: James Cherry --- sdc/Sdc.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdc/Sdc.cc b/sdc/Sdc.cc index 7925f048..ee14c6c1 100644 --- a/sdc/Sdc.cc +++ b/sdc/Sdc.cc @@ -4371,7 +4371,8 @@ Sdc::findMatchingExceptionsFirstThru(ExceptionPath *exception, findMatchingExceptionsInsts(exception, thru->instances(), first_thru_inst_exceptions_, matches); - if (!first_thru_net_exceptions_.empty()) { + if (!first_thru_net_exceptions_.empty() + && thru->nets()) { for (const Net *net : *thru->nets()) { // Potential matches includes exceptions that match net that are not // the first exception point.