exception -through net/exception -through pin seg fault

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2024-08-07 12:27:32 -07:00
parent c366eda020
commit d37810bf60
1 changed files with 2 additions and 1 deletions

View File

@ -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.