diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/timing.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common/timing.cc b/common/timing.cc index dd38ee45..77206c30 100644 --- a/common/timing.cc +++ b/common/timing.cc @@ -140,8 +140,13 @@ void TimingAnalyser::get_route_delays() { for (auto net : sorted(ctx->nets)) { NetInfo *ni = net.second; - for (auto &usr : ni->users) + if (ni->driver.cell == nullptr || ni->driver.cell->bel == BelId()) + continue; + for (auto &usr : ni->users) { + if (usr.cell->bel == BelId()) + continue; ports.at(CellPortKey(usr)).route_delay = DelayPair(ctx->getNetinfoRouteDelay(ni, usr)); + } } } |