aboutsummaryrefslogtreecommitdiffstats
path: root/nexus
diff options
context:
space:
mode:
Diffstat (limited to 'nexus')
-rw-r--r--nexus/arch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexus/arch.cc b/nexus/arch.cc
index 9f410758..2791b0df 100644
--- a/nexus/arch.cc
+++ b/nexus/arch.cc
@@ -781,7 +781,7 @@ Loc Arch::get_pad_loc(const PadInfoPOD *pad) const
BelId Arch::get_pad_pio_bel(const PadInfoPOD *pad) const
{
- if (pad == nullptr)
+ if (pad == nullptr || pad->offset == -1)
return BelId();
return getBelByLocation(get_pad_loc(pad));
}