diff options
Diffstat (limited to 'fpga_interchange/site_arch.impl.h')
-rw-r--r-- | fpga_interchange/site_arch.impl.h | 9 |
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 */ |