aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/site_routing_cache.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-01 13:12:29 +0100
committerGitHub <noreply@github.com>2021-07-01 13:12:29 +0100
commit79ab283890eb3ccc89bb4b409ea648f34eb58407 (patch)
tree51349bc234afa76ff9b2b3e8e9b597f893f04d02 /fpga_interchange/site_routing_cache.cc
parent8b4e8808271a1a6cd853ee214f138b79b19d6f8f (diff)
parent523ffbaa37a367557da434752cb286643e24b627 (diff)
downloadnextpnr-79ab283890eb3ccc89bb4b409ea648f34eb58407.tar.gz
nextpnr-79ab283890eb3ccc89bb4b409ea648f34eb58407.tar.bz2
nextpnr-79ab283890eb3ccc89bb4b409ea648f34eb58407.zip
Merge pull request #743 from YosysHQ/gatecat/site-rsv-ports
interchange: Reserve site ports only reachable from dedicated routing
Diffstat (limited to 'fpga_interchange/site_routing_cache.cc')
-rw-r--r--fpga_interchange/site_routing_cache.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/fpga_interchange/site_routing_cache.cc b/fpga_interchange/site_routing_cache.cc
index cd16cfff..82bbbf1b 100644
--- a/fpga_interchange/site_routing_cache.cc
+++ b/fpga_interchange/site_routing_cache.cc
@@ -204,4 +204,6 @@ void SiteRoutingCache::add_solutions(const SiteArch *ctx, const SiteNetInfo &net
cache_[key] = solution;
}
+void SiteRoutingCache::clear() { cache_.clear(); }
+
NEXTPNR_NAMESPACE_END