aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/site_arch.cc
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.cc
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.cc')
-rw-r--r--fpga_interchange/site_arch.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/fpga_interchange/site_arch.cc b/fpga_interchange/site_arch.cc
index 9cf7fa0c..4438193b 100644
--- a/fpga_interchange/site_arch.cc
+++ b/fpga_interchange/site_arch.cc
@@ -269,16 +269,11 @@ SiteArch::SiteArch(const SiteInformation *site_info) : ctx(site_info->ctx), site
NPNR_ASSERT(result.second);
}
}
-}
-SiteWire SiteArch::getBelPinWire(BelId bel, IdString pin) const
-{
- WireId wire = ctx->getBelPinWire(bel, pin);
- return SiteWire::make(site_info, wire);
+ blocking_net.name = ctx->id("$nextpnr_blocked_net");
+ blocking_site_net.net = &blocking_net;
}
-PortType SiteArch::getBelPinType(BelId bel, IdString pin) const { return ctx->getBelPinType(bel, pin); }
-
const char *SiteArch::nameOfWire(const SiteWire &wire) const
{
switch (wire.type) {