aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/site_arch.impl.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-04-06 20:08:37 +0100
committerGitHub <noreply@github.com>2021-04-06 20:08:37 +0100
commit31eda82b3f69e6d9dcc487d2aa8cab622df55cf7 (patch)
tree0ca02583c7dd0a49c4d62fd79098c37eb790cb69 /fpga_interchange/site_arch.impl.h
parent8501098c165a68d725a8267653a48860e3909347 (diff)
parentae2f7551c11ebf24c96b3ac8d1315ff648183a49 (diff)
downloadnextpnr-31eda82b3f69e6d9dcc487d2aa8cab622df55cf7.tar.gz
nextpnr-31eda82b3f69e6d9dcc487d2aa8cab622df55cf7.tar.bz2
nextpnr-31eda82b3f69e6d9dcc487d2aa8cab622df55cf7.zip
Merge pull request #659 from litghost/pseudo_pip_fixes
[interchange] Pseudo pip fixes
Diffstat (limited to 'fpga_interchange/site_arch.impl.h')
-rw-r--r--fpga_interchange/site_arch.impl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fpga_interchange/site_arch.impl.h b/fpga_interchange/site_arch.impl.h
index a471b690..3b9d282b 100644
--- a/fpga_interchange/site_arch.impl.h
+++ b/fpga_interchange/site_arch.impl.h
@@ -314,6 +314,15 @@ inline PhysicalNetlist::PhysNetlist::NetType SiteArch::prefered_constant_net_typ
}
}
+inline SiteWire SiteArch::getBelPinWire(BelId bel, IdString pin) const
+{
+ WireId wire = ctx->getBelPinWire(bel, pin);
+ return SiteWire::make(site_info, wire);
+}
+
+inline PortType SiteArch::getBelPinType(BelId bel, IdString pin) const { return ctx->getBelPinType(bel, pin); }
+
+
NEXTPNR_NAMESPACE_END
#endif /* SITE_ARCH_H */