[interchange] Fix missing inline methods in site_arch.impl.h
getBelPinWire and getBelPinType are marked as always inline, but were not defined in a header. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
90aa1d3b7e
commit
9b82ded77b
@ -271,14 +271,6 @@ SiteArch::SiteArch(const SiteInformation *site_info) : ctx(site_info->ctx), site
|
||||
}
|
||||
}
|
||||
|
||||
SiteWire SiteArch::getBelPinWire(BelId bel, IdString pin) const
|
||||
{
|
||||
WireId wire = ctx->getBelPinWire(bel, pin);
|
||||
return SiteWire::make(site_info, wire);
|
||||
}
|
||||
|
||||
PortType SiteArch::getBelPinType(BelId bel, IdString pin) const { return ctx->getBelPinType(bel, pin); }
|
||||
|
||||
const char *SiteArch::nameOfWire(const SiteWire &wire) const
|
||||
{
|
||||
switch (wire.type) {
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user