aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/arch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/arch.cc')
-rw-r--r--nexus/arch.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/nexus/arch.cc b/nexus/arch.cc
index f3430968..1b98a365 100644
--- a/nexus/arch.cc
+++ b/nexus/arch.cc
@@ -589,6 +589,9 @@ TimingClockingInfo Arch::getPortClockingInfo(const CellInfo *cell, IdString port
delay_t Arch::estimateDelay(WireId src, WireId dst) const
{
+ const auto &dst_data = wire_data(dst);
+ if (src.tile == 0 && dst_data.name == ID_LOCAL_VCC)
+ return 0;
int src_x = src.tile % chip_info->width, src_y = src.tile / chip_info->width;
int dst_x = dst.tile % chip_info->width, dst_y = dst.tile / chip_info->width;
int dist_x = std::abs(src_x - dst_x);