aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/site_routing_cache.h
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.h
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.h')
-rw-r--r--fpga_interchange/site_routing_cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpga_interchange/site_routing_cache.h b/fpga_interchange/site_routing_cache.h
index a430d206..5f5e7b75 100644
--- a/fpga_interchange/site_routing_cache.h
+++ b/fpga_interchange/site_routing_cache.h
@@ -121,6 +121,7 @@ class SiteRoutingCache
public:
bool get_solution(const SiteArch *ctx, const SiteNetInfo &net, SiteRoutingSolution *solution) const;
void add_solutions(const SiteArch *ctx, const SiteNetInfo &net, const SiteRoutingSolution &solution);
+ void clear();
private:
dict<SiteRoutingKey, SiteRoutingSolution> cache_;